Syntax failed this time. Trying with args parameter before chdir.
This commit is contained in:
parent
9da1f834d4
commit
c8407a4b49
@ -7,4 +7,5 @@
|
|||||||
|
|
||||||
- name: Run Lynis
|
- name: Run Lynis
|
||||||
ansible.builtin.shell: lynis audit system
|
ansible.builtin.shell: lynis audit system
|
||||||
|
args:
|
||||||
chdir: /usr/local/lynis/
|
chdir: /usr/local/lynis/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user