I guess command and shell hate having an FQCN. Now need to output the results.
This commit is contained in:
@@ -6,4 +6,9 @@
|
|||||||
force: yes
|
force: yes
|
||||||
|
|
||||||
- name: Run Lynis
|
- name: Run Lynis
|
||||||
command: /usr/local/lynis/lynis audit system
|
command: /usr/local/lynis/lynis audit system
|
||||||
|
register: lynis_report
|
||||||
|
|
||||||
|
- name: Lynis Report
|
||||||
|
debug:
|
||||||
|
var: lynis_report
|
Reference in New Issue
Block a user