fix errors

Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
Martin Schurz committed 2024-12-22 18:58:39 +01:00
1 parent fba07a4d41
commit 4b05df756c
2 files changed
+4 -3

No files matched your search

+2 -2
View File
@@ -120,8 +120,8 @@
- not os_auth_pam_passwdqc_enable
- name: Allow Login with SSH Keys, when user password is expired
lineinfile:
ansible.builtin.lineinfile:
path: /etc/pam.d/common-account
backrefs: yes
backrefs: true
regexp: "^(account.*pam_unix.so(?!.*no_pass_expiry).*)$"
line: '\1 no_pass_expiry'