From 9f1880464bb41cfaa2b089f35dfbda723ded911c Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 8 Mar 2024 09:03:06 +0100 Subject: [PATCH] rolling_update: address linter errors this addresses 3 linter errors in rolling update playbook Signed-off-by: Guillaume Abrioux --- infrastructure-playbooks/rolling_update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 8ce5d44ac..c57be0a56 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -143,7 +143,7 @@ register: ceph_version changed_when: false - - name: check ceph release being deployed + - name: Check ceph release being deployed ansible.builtin.fail: msg: "This version of ceph-ansible is intended for upgrading to Ceph Reef only." when: "'reef' not in ceph_version.stdout.split()" @@ -1210,7 +1210,7 @@ name: ceph-facts tasks_from: container_binary.yml - - name: container | disallow pre-reef OSDs and enable all new reef-only functionality + - name: Container | disallow pre-reef OSDs and enable all new reef-only functionality ansible.builtin.command: "{{ container_binary }} exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_facts']['hostname'] }} ceph --cluster {{ cluster }} osd require-osd-release reef" delegate_to: "{{ groups[mon_group_name][0] }}" run_once: true @@ -1219,7 +1219,7 @@ - containerized_deployment | bool - groups.get(mon_group_name, []) | length > 0 - - name: non container | disallow pre-reef OSDs and enable all new reef-only functionality + - name: Non container | disallow pre-reef OSDs and enable all new reef-only functionality ansible.builtin.command: "ceph --cluster {{ cluster }} osd require-osd-release reef" delegate_to: "{{ groups[mon_group_name][0] }}" run_once: true -- 2.39.5