Commit 5375713d authored by Guillaume Abrioux's avatar Guillaume Abrioux
Browse files

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: default avatarGuillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 11b4bf50)
parent e83bcd94
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment