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>
pull/6060/head
Guillaume Abrioux 2020-10-02 13:35:39 +02:00
parent 2011e4dbc8
commit 11b4bf5083
1 changed files with 3 additions and 1 deletions

View File

@ -732,7 +732,9 @@
listen: "remove data"
- name: umount osd data partition
shell: umount {{ item }}
mount:
path: "{{ item }}"
state: unmounted
with_items: "{{ mounted_osd.stdout_lines }}"
listen: "remove data"