diff --git a/rolling_update.yml b/rolling_update.yml index 0022bde03..16a7c8617 100644 --- a/rolling_update.yml +++ b/rolling_update.yml @@ -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] }}"