From 8fda63c197327bc24fbe8aae901b544c60eb585c Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Sat, 21 Mar 2026 15:26:42 +0100 Subject: [PATCH] fix: sort flags --- tasks/ceph/enter-maint.yaml | 6 +++--- tasks/ceph/exit-maint.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tasks/ceph/enter-maint.yaml b/tasks/ceph/enter-maint.yaml index 78d5356..7344fc6 100644 --- a/tasks/ceph/enter-maint.yaml +++ b/tasks/ceph/enter-maint.yaml @@ -9,12 +9,12 @@ ansible.builtin.shell: cmd: "ceph osd set {{ item }}" loop: - - "norecover" - - "norebalance" - "nobackfill" - - "noscrub" - "nodeep-scrub" - "noout" + - "norebalance" + - "norecover" + - "noscrub" register: "ceph_flag_result" changed_when: false failed_when: "ceph_flag_result.rc != 0" diff --git a/tasks/ceph/exit-maint.yaml b/tasks/ceph/exit-maint.yaml index 812b754..a7192c9 100644 --- a/tasks/ceph/exit-maint.yaml +++ b/tasks/ceph/exit-maint.yaml @@ -9,12 +9,12 @@ ansible.builtin.shell: cmd: "ceph osd unset {{ item }}" loop: - - "norecover" - - "norebalance" - "nobackfill" - - "noscrub" - "nodeep-scrub" - "noout" + - "norebalance" + - "norecover" + - "noscrub" register: "ceph_flag_result" changed_when: false failed_when: "ceph_flag_result.rc != 0"