Clean up log: Remove reference to old Lynis install directory.
This commit is contained in:
parent
660429eab0
commit
f9421585c9
@ -9,12 +9,8 @@
|
||||
set_fact:
|
||||
lynis_temp_file: "{{ lynis_file }}.tmp"
|
||||
|
||||
- name: General | Tests | Lynis | Rename Old Install
|
||||
shell: mv "/usr/local/lynis" "/usr/local/src/"
|
||||
ignore_errors: yes
|
||||
|
||||
- name: General | Tests | Lynis | Install
|
||||
git:
|
||||
git:
|
||||
repo: https://github.com/CISOfy/lynis
|
||||
dest: "{{ lynis_install_dir }}"
|
||||
clone: yes
|
||||
@ -22,7 +18,7 @@
|
||||
ignore_errors: yes
|
||||
|
||||
- name: General | Tests | Lynis | Ensure Permissions (Looking at you Parrot OS!)
|
||||
file:
|
||||
file:
|
||||
path: "{{ lynis_install_dir }}"
|
||||
state: directory
|
||||
mode: '0644'
|
||||
@ -31,12 +27,12 @@
|
||||
recurse: yes
|
||||
|
||||
- name: General | Tests | Lynis | Ensure Permissions 2
|
||||
file:
|
||||
file:
|
||||
path: "{{ lynis_install_dir }}/lynis"
|
||||
mode: '0755'
|
||||
|
||||
- name: General | Tests | Lynis | Ensure Folder Permissions
|
||||
file:
|
||||
file:
|
||||
path: "{{ lynis_install_dir }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
Loading…
x
Reference in New Issue
Block a user