forked from ansible-lockdown/RHEL9-CIS
All passwords are expired during hardening #22
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
f45bbd6ee8
commit
4705e361bf
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@
|
||||||
- name: "5.6.1.5 | PATCH | Ensure all users last password change date is in the past | Fix accounts with pw change in the future"
|
- name: "5.6.1.5 | PATCH | Ensure all users last password change date is in the past | Fix accounts with pw change in the future"
|
||||||
command: passwd --expire {{ item }}
|
command: passwd --expire {{ item }}
|
||||||
when:
|
when:
|
||||||
- rhel9cis_5_6_1_5_user_list | length > 0
|
- rhel9cis_5_6_1_5_user_list.stdout | length > 0
|
||||||
- rhel9cis_futurepwchgdate_autofix
|
- rhel9cis_futurepwchgdate_autofix
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ rhel9cis_5_6_1_5_user_list.stdout_lines }}"
|
- "{{ rhel9cis_5_6_1_5_user_list.stdout_lines }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue