fix: deep analysis audit — no_log, resolv.conf, service conflicts, lint
This commit is contained in:
@@ -10,6 +10,13 @@
|
||||
dest: "{{ item }}"
|
||||
regexp: "\\s*nullok"
|
||||
replace: ""
|
||||
loop:
|
||||
- /mnt/etc/pam.d/system-auth
|
||||
- /mnt/etc/pam.d/password-auth
|
||||
loop: >-
|
||||
{{
|
||||
['/mnt/etc/pam.d/system-auth', '/mnt/etc/pam.d/password-auth']
|
||||
if is_rhel | bool
|
||||
else (
|
||||
['/mnt/etc/pam.d/common-auth', '/mnt/etc/pam.d/common-password']
|
||||
if is_debian | bool
|
||||
else []
|
||||
)
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user