Set number of warning days before password expires for existing users

Signed-off-by: Norman Ziegner <[email protected]>
This commit is contained in:
Norman Ziegner authored and Martin Schurz committed 2025-02-08 22:30:24 +01:00
1 parent 3be6a3b2a5
commit 8b24d49c00
1 file changed
+2
@@ -36,6 +36,7 @@
name: "{{ item }}"
password_expire_min: "{{ os_auth_pw_min_age }}"
password_expire_max: "{{ os_auth_pw_max_age }}"
password_expire_warn: "{{ os_auth_pw_warn_age }}"
loop: "{{ regular_users }}"
when:
- os_user_pw_ageing
@@ -66,6 +67,7 @@
name: "{{ item }}"
password_expire_min: "{{ os_auth_pw_min_age }}"
password_expire_max: "{{ os_auth_pw_max_age }}"
password_expire_warn: "{{ os_auth_pw_warn_age }}"
loop: "{{ root_users }}"
when:
- os_rootuser_pw_ageing | bool