]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rolling_update: always run cv simple scan/activate
authorDimitri Savineau <dsavinea@redhat.com>
Mon, 9 Nov 2020 22:02:17 +0000 (17:02 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 10 Nov 2020 13:01:10 +0000 (14:01 +0100)
There's no need to use a condition on the ceph release for the
ceph-volume simple commands.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
infrastructure-playbooks/rolling_update.yml

index 021d67477e6b7f6d86ba312269d56cc412174ace..e18cc9ea4ad9682dc3aa086ed44563181afea644 100644 (file)
       command: "ceph-volume --cluster={{ cluster }} simple scan --force"
       environment:
         CEPH_VOLUME_DEBUG: "{{ ceph_volume_debug }}"
-      when:
-        - ceph_release in ["nautilus", "octopus"]
-        - not containerized_deployment | bool
+      when: not containerized_deployment | bool
 
     - name: activate scanned ceph-disk osds and migrate to ceph-volume if deploying nautilus
       command: "ceph-volume --cluster={{ cluster }} simple activate --all"
       environment:
         CEPH_VOLUME_DEBUG: "{{ ceph_volume_debug }}"
-      when:
-        - ceph_release in ["nautilus", "octopus"]
-        - not containerized_deployment | bool
+      when: not containerized_deployment | bool
 
     - name: get num_pgs - non container
       command: "{{ container_exec_cmd_update_osd|default('') }} ceph --cluster {{ cluster }} pg stat --format json"