Cast security_shadow_utils_fail_delay as int
This patch ensures that security_shadow_utils_fail_delay is an integer before we perform math on it. Change-Id: I2b586c9d96447c6747aea3be53c6f622cd494f75
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
lineinfile:
|
||||
dest: /etc/pam.d/login
|
||||
regexp: '^(auth[\s]+optional[\s]+pam_faildelay.so).*$'
|
||||
line: '\1 delay={{ security_shadow_utils_fail_delay * 10**6 }}'
|
||||
line: '\1 delay={{ (security_shadow_utils_fail_delay | int) * 10**6 }}'
|
||||
state: present
|
||||
backrefs: yes
|
||||
when:
|
||||
|
||||
Reference in New Issue
Block a user