From: Guillaume Abrioux Date: Mon, 18 Jul 2022 08:11:27 +0000 (+0200) Subject: shrink-osd: use command instead of ceph_volume_simple_scan X-Git-Tag: v4.0.70.10~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4661c5679fecdceba627f64fde5c58c8fda0f016;p=ceph-ansible.git shrink-osd: use command instead of ceph_volume_simple_scan This module isn't available in RHCS 4 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2071035 Signed-off-by: Guillaume Abrioux --- diff --git a/infrastructure-playbooks/shrink-osd.yml b/infrastructure-playbooks/shrink-osd.yml index e98924b98..3e8e9097e 100644 --- a/infrastructure-playbooks/shrink-osd.yml +++ b/infrastructure-playbooks/shrink-osd.yml @@ -123,11 +123,10 @@ 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