refactor(cis): extract hardcoded values to cis_defaults and add _normalize.yml
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
ansible.builtin.lineinfile:
|
||||
path: "/mnt/etc/profile"
|
||||
regexp: "^(\\s*)umask\\s+\\d+"
|
||||
line: "umask 027"
|
||||
line: "umask {{ cis_cfg.umask_profile }}"
|
||||
|
||||
# Non-RHEL/non-Debian distros: loop evaluates to [] (intentional skip)
|
||||
- name: Prevent Login to Accounts With Empty Password
|
||||
|
||||
Reference in New Issue
Block a user