]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rolling_update: address linter errors
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 8 Mar 2024 08:03:06 +0000 (09:03 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Fri, 15 Mar 2024 23:51:52 +0000 (00:51 +0100)
this addresses 3 linter errors in rolling update playbook

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
infrastructure-playbooks/rolling_update.yml

index 8ce5d44ac8f2bc98d6a77e444588cfe54951ee28..c57be0a566668b879734cee0da8c0356c86a913b 100644 (file)
           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()"
         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
         - 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