1 parent
ec9d7d2cb8
commit
b2dd73d27e
1 file changed
-14
@@ -6,13 +6,6 @@
|
||||
when:
|
||||
- os_auth_pam_sssd_enable | bool
|
||||
|
||||
- name: install the package for strong password checking
|
||||
yum:
|
||||
name: 'pam_passwdqc'
|
||||
state: 'present'
|
||||
when:
|
||||
- os_auth_pam_passwdqc_enable
|
||||
|
||||
- name: configure passwdqc and faillock via central system-auth config
|
||||
template:
|
||||
src: 'etc/pam.d/rhel_auth.j2'
|
||||
@@ -48,10 +41,3 @@
|
||||
group: 'root'
|
||||
state: link
|
||||
force: true
|
||||
|
||||
- name: remove passwdqc
|
||||
yum:
|
||||
name: 'pam_passwdqc'
|
||||
state: 'absent'
|
||||
when:
|
||||
- not os_auth_pam_passwdqc_enable
|
||||
Reference in new issue
Block a user