mirror of https://github.com/ceph/ceph-ansible.git
fix 'command -v' tasks
`command -v` is a bash script which needs a shell to run. Fixes: #6325 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/6368/head
parent
07029e1bf1
commit
14c472707c
|
@ -79,8 +79,8 @@
|
||||||
tags: with_pkg
|
tags: with_pkg
|
||||||
when: not is_atomic | bool
|
when: not is_atomic | bool
|
||||||
|
|
||||||
- name: check podman presence
|
- name: check podman presence # noqa : 305
|
||||||
command: command -v podman
|
shell: command -v podman
|
||||||
register: podman_presence
|
register: podman_presence
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
|
@ -493,8 +493,8 @@
|
||||||
failed_when: false
|
failed_when: false
|
||||||
register: ceph_lockbox_partition_to_erase_path
|
register: ceph_lockbox_partition_to_erase_path
|
||||||
|
|
||||||
- name: see if ceph-volume is installed
|
- name: see if ceph-volume is installed # noqa : 305
|
||||||
command: command -v ceph-volume
|
shell: command -v ceph-volume
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
register: ceph_volume_present
|
register: ceph_volume_present
|
||||||
|
|
Loading…
Reference in New Issue