mirror of https://github.com/ceph/ceph-ansible.git
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
parent
f6e0185146
commit
78aac3e96a
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue