Specified which shell to use.
This commit is contained in:
parent
9c6aef4627
commit
8dc866c72f
1 changed files with 5 additions and 3 deletions
|
@ -18,9 +18,11 @@
|
||||||
state: absent
|
state: absent
|
||||||
path: /var/lib/rook
|
path: /var/lib/rook
|
||||||
- name: Delete (/dev/mapper/ceph-*) # noqa: no-changed-when
|
- name: Delete (/dev/mapper/ceph-*) # noqa: no-changed-when
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell:
|
||||||
set -o pipefail
|
executable: /bin/bash
|
||||||
ls /dev/mapper/ceph-* | xargs -I% -- dmsetup remove_all --force % || true
|
cmd: |
|
||||||
|
set -o pipefail
|
||||||
|
ls /dev/mapper/ceph-* | xargs -I% -- dmsetup remove_all --force % || true
|
||||||
- name: Delete (/dev/ceph-*) # noqa: no-changed-when
|
- name: Delete (/dev/ceph-*) # noqa: no-changed-when
|
||||||
ansible.builtin.command: rm -rf /dev/ceph-*
|
ansible.builtin.command: rm -rf /dev/ceph-*
|
||||||
- name: Delete (/dev/mapper/ceph--*) # noqa: no-changed-when
|
- name: Delete (/dev/mapper/ceph--*) # noqa: no-changed-when
|
||||||
|
|
Reference in a new issue