base: Use argv when running commands

This commit is contained in:
Timo Makinen 2021-03-11 10:59:04 +00:00
parent d1921c3dc4
commit 5322b2268b

View file

@ -15,7 +15,11 @@
setype: var_t setype: var_t
- name: check selinux context from /export - name: check selinux context from /export
command: matchpathcon -V /export command:
argv:
- matchpathcon
- -V
- /export2
register: result register: result
check_mode: false check_mode: false
changed_when: false changed_when: false