forked from ansible-lockdown/RHEL9-CIS
Updated arm discovery
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
469478e64e
commit
d1a6f6d2b8
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
audit_pkg_arch_name: AMD64
|
audit_pkg_arch_name: AMD64
|
||||||
|
|
||||||
- name: Pre Audit Setup | Set audit package name | ARM64
|
- name: Pre Audit Setup | Set audit package name | ARM64
|
||||||
when: ansible_facts.machine == "arm64"
|
when: (ansible_facts.machine == "arm64" or ansible_facts.machine == "aarch64")
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
audit_pkg_arch_name: ARM64
|
audit_pkg_arch_name: ARM64
|
||||||
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
- name: Pre Audit Setup | Copy audit binary
|
- name: Pre Audit Setup | Copy audit binary
|
||||||
when: get_audit_binary_method == 'copy'
|
when: get_audit_binary_method == 'copy'
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ audit_bin_copy_location }}"
|
src: "{{ audit_bin_copy_location }}/goss-linux-{{ audit_pkg_arch_name }}"
|
||||||
dest: "{{ audit_bin }}"
|
dest: "{{ audit_bin }}"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue