-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #259 from ansible-lockdown/stig_v1r12
Stig v1r12 release to devel
- Loading branch information
Showing
20 changed files
with
316 additions
and
573 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,34 @@ | ||
--- | ||
|
||
- name: Pre Audit Setup | Set audit package name | ||
block: | ||
- name: Pre Audit Setup | Set audit package name | 64bit | ||
ansible.builtin.set_fact: | ||
audit_pkg_arch_name: AMD64 | ||
when: ansible_facts.machine == "x86_64" | ||
|
||
- name: Pre Audit Setup | Set audit package name | ARM64 | ||
ansible.builtin.set_fact: | ||
audit_pkg_arch_name: ARM64 | ||
when: ansible_facts.machine == "arm64" | ||
|
||
- name: Pre Audit Setup | Download audit binary | ||
ansible.builtin.get_url: | ||
url: "{{ audit_bin_url }}" | ||
url: "{{ audit_bin_url }}{{ audit_pkg_arch_name }}" | ||
dest: "{{ audit_bin }}" | ||
owner: root | ||
group: root | ||
checksum: "{{ audit_bin_version.checksum }}" | ||
checksum: "{{ audit_bin_version[audit_pkg_arch_name + '_checksum'] }}" | ||
mode: '0555' | ||
when: | ||
- get_audit_binary_method == 'download' | ||
|
||
- name: Pre Audit Setup | copy audit binary | ||
- name: Pre Audit Setup | Copy audit binary | ||
ansible.builtin.copy: | ||
src: "{{ audit_bin_copy_location }}" | ||
dest: "{{ audit_bin }}" | ||
mode: '0555' | ||
owner: root | ||
group: root | ||
mode: '0555' | ||
when: | ||
- get_audit_binary_method == 'copy' |
Oops, something went wrong.