forked from ansible-lockdown/RHEL9-CIS
Initial
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
commit
a54b5216eb
87 changed files with 7693 additions and 0 deletions
22
tasks/LE_audit_setup.yml
Normal file
22
tasks/LE_audit_setup.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
|
||||
- name: Download audit binary
|
||||
get_url:
|
||||
url: "{{ goss_url }}"
|
||||
dest: "{{ audit_bin }}"
|
||||
owner: root
|
||||
group: root
|
||||
checksum: "{{ goss_version.checksum }}"
|
||||
mode: 0555
|
||||
when:
|
||||
- get_goss_file == 'download'
|
||||
|
||||
- name: copy audit binary
|
||||
copy:
|
||||
src:
|
||||
dest: "{{ audit_bin }}"
|
||||
mode: 0555
|
||||
owner: root
|
||||
group: root
|
||||
when:
|
||||
- get_goss_file == 'copy'
|
||||
Loading…
Add table
Add a link
Reference in a new issue