2020-12-28 20:57:05 -06:00
|
|
|
- name: Install Lynis
|
|
|
|
ansible.builtin.git:
|
|
|
|
repo: https://github.com/CISOfy/lynis
|
2020-12-28 20:59:07 -06:00
|
|
|
dest: /usr/local/lynis
|
2020-12-28 20:57:05 -06:00
|
|
|
clone: yes
|
|
|
|
force: yes
|
|
|
|
|
|
|
|
- name: Run Lynis
|
2020-12-28 21:13:54 -06:00
|
|
|
command: /usr/local/lynis/lynis audit system
|