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