Change PASS_WARN_DAYS --> PASS_WARN_AGE

The option PASS_WARN_DAYS does not exist and should instead be
"PASS_WARN_AGE".

Change-Id: I5a7f26e42c3f5f6d6c3ae19ef585471da39b7478
Closes-Bug: #1665377
This commit is contained in:
Andy McCrae 2017-03-21 16:39:15 +00:00
parent 78d844a008
commit c1780c7152

View File

@ -49,8 +49,8 @@
- name: V-38480 - Warn users prior to password expiration
lineinfile:
dest: /etc/login.defs
regexp: "^(#)?PASS_WARN_DAYS"
line: "PASS_WARN_DAYS {{ security_password_warn_age }}"
regexp: "^(#)?PASS_WARN_AGE"
line: "PASS_WARN_AGE {{ security_password_warn_age }}"
when: security_password_warn_age is defined
tags:
- auth