Fix permissions, again. :)

This commit is contained in:
Hyperling 2021-07-11 12:09:33 -05:00
parent 2bdcef938c
commit 55e38480e6

View File

@ -12,11 +12,16 @@
file:
path: "{{ lynis_install_dir }}"
state: directory
mode: '0755'
mode: '0644'
owner: root
group: root
recurse: yes
- name: General | Tests | Lynis | Ensure Permissions 2
file:
path: "{{ lynis_install_dir }}/lynis"
mode: '0755'
- name: General | Tests | Lynis | Run System Audit
shell: "{{ lynis_install_dir }}/lynis audit system --no-colors > {{ lynis_report }} 2>&1"
args: