Fix quotes so that I can remove lynis_exec variable.

This commit is contained in:
2021-01-31 13:50:27 -06:00
parent 63e848210c
commit a53ec10a99
2 changed files with 1 additions and 4 deletions

View File

@ -6,7 +6,7 @@
force: yes
- name: Run Lynis Audit System
shell: "{{ lynis_exec }}" --no-colors audit system > "{{ lynis_report }}" 2>&1
shell: "{{ lynis_install_dir }}/lynis --no-colors audit system > {{ lynis_report }} 2>&1"
- name: Make Lynis Report Readable
shell: chmod 444 "{{ lynis_report }}"