Fix CIS applienc for RHEL8

This commit is contained in:
Sandwich 2025-01-21 22:34:01 +01:00
parent 7bae512560
commit e06a95fdbc
2 changed files with 3 additions and 3 deletions
roles
cis/tasks
configuration/tasks

@ -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: