]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
shrink-osd: use command instead of ceph_volume_simple_scan
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 18 Jul 2022 08:11:27 +0000 (10:11 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 18 Jul 2022 08:11:27 +0000 (10:11 +0200)
This module isn't available in RHCS 4

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2071035
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/shrink-osd.yml

index e98924b988a85d4bb844b5c98e12882aadc04014..3e8e9097e90ac8c180eb99efaeef6e337930a7e5 100644 (file)
       with_items: "{{ _lvm_list_data.results }}"
 
     - name: refresh /etc/ceph/osd files non containerized_deployment
-      ceph_volume_simple_scan:
-        cluster: "{{ cluster }}"
-        force: true
+      command: ceph-volume simple scan --force
       delegate_to: "{{ item }}"
       loop: "{{ host_list }}"
+      changed_when: false
       when: not containerized_deployment | bool
 
     - name: refresh /etc/ceph/osd files containerized_deployment