mirror of https://github.com/ceph/ceph-ansible.git
Merge branch 'rolling-update' of https://github.com/leseb/ceph-ansible-1 into leseb-rolling-update
Signed-off-by: Sébastien Han <sebastien.han@enovance.com> Conflicts: rolling_update.ymlpull/259/head
commit
6053cb98fd
|
@ -77,7 +77,11 @@
|
|||
|
||||
pre_tasks:
|
||||
- name: Set the noout flag
|
||||
command: ceph osd set noout
|
||||
command: ceph osd set {{ item }}
|
||||
with_items:
|
||||
- noout
|
||||
- noscrub
|
||||
- nodeep-scrub
|
||||
delegate_to: "{{ groups.mons[0] }}"
|
||||
|
||||
roles:
|
||||
|
@ -118,7 +122,11 @@
|
|||
delegate_to: "{{ groups.mons[0] }}"
|
||||
|
||||
- name: Unset the noout flag
|
||||
command: ceph osd unset noout
|
||||
command: ceph osd unset {{ item }}
|
||||
with_items:
|
||||
- noout
|
||||
- noscrub
|
||||
- nodeep-scrub
|
||||
delegate_to: "{{ groups.mons[0] }}"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue