remove unneeded tasks

Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
Martin Schurz committed 2021-03-15 23:53:40 +01:00
1 parent ec9d7d2cb8
commit b2dd73d27e
1 file changed
-14
-14
View File
@@ -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