Fix CIS applienc for RHEL8
This commit is contained in:
@@ -95,7 +95,7 @@
|
|||||||
- /mnt/etc/pam.d/password-auth
|
- /mnt/etc/pam.d/password-auth
|
||||||
|
|
||||||
- name: Configure System Cryptography Policy
|
- name: Configure System Cryptography Policy
|
||||||
when: os in ["almalinux", "fedora", "rhel8", "rhel9", "rocky"]
|
when: os in ["almalinux", "rhel9", "rocky"]
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
arch-chroot /mnt /usr/bin/update-crypto-policies --set DEFAULT:NO-SHA1
|
arch-chroot /mnt /usr/bin/update-crypto-policies --set DEFAULT:NO-SHA1
|
||||||
|
|
||||||
|
|||||||
@@ -232,8 +232,8 @@
|
|||||||
group: root
|
group: root
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
loop:
|
loop:
|
||||||
- /etc/issue
|
- /mnt/etc/issue
|
||||||
- /etc/issue.net
|
- /mnt/etc/issue.net
|
||||||
|
|
||||||
- name: Setup Network
|
- name: Setup Network
|
||||||
block:
|
block:
|
||||||
|
|||||||
Reference in New Issue
Block a user