rolling_update: support multiple rgw instance

1ac94c048f 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>
pull/3522/head
Guillaume Abrioux 2019-01-22 11:12:37 +01:00
parent 877979c787
commit edfdc49488
1 changed files with 2 additions and 1 deletions

View File

@ -624,10 +624,11 @@
- 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