]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rolling_update: support multiple rgw instance
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 22 Jan 2019 10:12:37 +0000 (11:12 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 22 Jan 2019 12:45:38 +0000 (13:45 +0100)
1ac94c048ff1d1385de2892d0ecef7879ec563e9 introduced the support of
multiple rgw instances on a single host but somehow has missed to
implement this feature in rolling_update.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/rolling_update.yml

index 0843cca039c9b76c3371d326a8ae0c993aa376be..df294301fb6d1dc62e23c71dc983f05e1aba0fa0 100644 (file)
 
     - name: restart containerized ceph rgw
       systemd:
-        name: ceph-radosgw@rgw.{{ ansible_hostname }}
+        name: ceph-radosgw@rgw.{{ ansible_hostname }}.{{ item.instance_name }}
         state: restarted
         enabled: yes
         daemon_reload: yes
+      with_items: "{{ rgw_instances }}"
       when:
         - containerized_deployment