mirror of https://github.com/ceph/ceph-ansible.git
lint: use shell only when shell functionality is required
Fix ansible-lint 305 error:
[305] Use shell only when shell functionality is required
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 11b4bf5083
)
pull/6166/head
parent
2a0e07cfd7
commit
ab62d27c44
|
@ -729,7 +729,9 @@
|
||||||
listen: "remove data"
|
listen: "remove data"
|
||||||
|
|
||||||
- name: umount osd data partition
|
- name: umount osd data partition
|
||||||
shell: umount {{ item }}
|
mount:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: unmounted
|
||||||
with_items: "{{ mounted_osd.stdout_lines }}"
|
with_items: "{{ mounted_osd.stdout_lines }}"
|
||||||
listen: "remove data"
|
listen: "remove data"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue