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:
Hyperling 2020-12-28 21:01:48 -06:00
parent dd58654d88
commit 9da1f834d4

View File

@ -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