update: followup on edfdc49

all rgw instances should be stopped according to the multiple rgw
instances support added in rolling_update.yml

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/3748/head
Guillaume Abrioux 2019-03-25 14:50:09 +01:00 committed by Dimitri Savineau
parent f6e0185146
commit 78aac3e96a
1 changed files with 19 additions and 17 deletions

View File

@ -557,19 +557,30 @@
serial: 1
become: True
tasks:
- name: stop ceph rgw
systemd:
name: ceph-radosgw@rgw.{{ ansible_hostname }}
state: stopped
enabled: no
masked: yes
when:
- not containerized_deployment
- import_role:
name: ceph-defaults
- import_role:
name: ceph-facts
- name: stop ceph rgw when upgrading from stable-3.2
systemd:
name: ceph-radosgw@rgw.{{ ansible_hostname }}
state: stopped
enabled: no
masked: yes
ignore_errors: True
- name: stop ceph rgw
systemd:
name: ceph-radosgw@rgw.{{ ansible_hostname }}.{{ item.instance_name }}
state: stopped
enabled: no
masked: yes
with_items: "{{ rgw_instances }}"
when:
- not containerized_deployment
- import_role:
name: ceph-handler
- import_role:
@ -583,15 +594,6 @@
- import_role:
name: ceph-rgw
- name: start ceph rgw
systemd:
name: ceph-radosgw@rgw.{{ ansible_hostname }}
state: started
enabled: yes
masked: no
when:
- not containerized_deployment
- name: restart containerized ceph rgw
systemd:
name: ceph-radosgw@rgw.{{ ansible_hostname }}.{{ item.instance_name }}