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.yml
pull/259/head
Sébastien Han 2015-04-27 19:05:31 +02:00
commit 6053cb98fd
1 changed files with 10 additions and 2 deletions

View File

@ -77,7 +77,11 @@
pre_tasks: pre_tasks:
- name: Set the noout flag - 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] }}" delegate_to: "{{ groups.mons[0] }}"
roles: roles:
@ -118,7 +122,11 @@
delegate_to: "{{ groups.mons[0] }}" delegate_to: "{{ groups.mons[0] }}"
- name: Unset the noout flag - 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] }}" delegate_to: "{{ groups.mons[0] }}"