Do not use cmd parameter even though it is in the documentation. Received error 'Unsupported parameters for (command) module: cmd'
This commit is contained in:
parent
dd58654d88
commit
9da1f834d4
@ -6,6 +6,5 @@
|
|||||||
force: yes
|
force: yes
|
||||||
|
|
||||||
- name: Run Lynis
|
- name: Run Lynis
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell: lynis audit system
|
||||||
chdir: /usr/local/lynis/
|
chdir: /usr/local/lynis/
|
||||||
cmd: lynis audit system
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user