mirror of https://github.com/ceph/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 <gabrioux@redhat.com>pull/7307/head
parent
f8e969c890
commit
4661c5679f
|
@ -123,11 +123,10 @@
|
||||||
with_items: "{{ _lvm_list_data.results }}"
|
with_items: "{{ _lvm_list_data.results }}"
|
||||||
|
|
||||||
- name: refresh /etc/ceph/osd files non containerized_deployment
|
- name: refresh /etc/ceph/osd files non containerized_deployment
|
||||||
ceph_volume_simple_scan:
|
command: ceph-volume simple scan --force
|
||||||
cluster: "{{ cluster }}"
|
|
||||||
force: true
|
|
||||||
delegate_to: "{{ item }}"
|
delegate_to: "{{ item }}"
|
||||||
loop: "{{ host_list }}"
|
loop: "{{ host_list }}"
|
||||||
|
changed_when: false
|
||||||
when: not containerized_deployment | bool
|
when: not containerized_deployment | bool
|
||||||
|
|
||||||
- name: refresh /etc/ceph/osd files containerized_deployment
|
- name: refresh /etc/ceph/osd files containerized_deployment
|
||||||
|
|
Loading…
Reference in New Issue