From 4661c5679fecdceba627f64fde5c58c8fda0f016 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Mon, 18 Jul 2022 10:11:27 +0200 Subject: [PATCH] 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 --- infrastructure-playbooks/shrink-osd.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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