Try to use command instead of shell.
This commit is contained in:
parent
c8407a4b49
commit
486fd3b4d7
@ -6,6 +6,7 @@
|
||||
force: yes
|
||||
|
||||
- name: Run Lynis
|
||||
ansible.builtin.shell: lynis audit system
|
||||
ansible.builtin.command:
|
||||
args:
|
||||
cmd: lynis audit system
|
||||
chdir: /usr/local/lynis/
|
||||
|
Loading…
x
Reference in New Issue
Block a user