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:
@ -6,6 +6,5 @@
|
||||
force: yes
|
||||
|
||||
- name: Run Lynis
|
||||
ansible.builtin.shell:
|
||||
ansible.builtin.shell: lynis audit system
|
||||
chdir: /usr/local/lynis/
|
||||
cmd: lynis audit system
|
||||
|
Reference in New Issue
Block a user