Fix bare jinja variable pam_password_file
The pam_password_variable didn't have jinja tags around it and it wasn't being handled correctly. This patch fixes the bug and makes the task name easier to read. Closes-Bug: 1693343 Change-Id: Ie469c32a71c3c0e1b381739290ffb608bb04a21c
This commit is contained in:
parent
e416859438
commit
d7600f1a12
@ -65,9 +65,9 @@
|
||||
- high
|
||||
- V-71937
|
||||
|
||||
- name: V-71945 - If three unsuccessful logon attempts within 15 minutes occur the associated account must be locked.
|
||||
- name: Lock accounts after three failed login attempts a 15 minute period
|
||||
blockinfile:
|
||||
dest: pam_password_file
|
||||
dest: "{{ pam_password_file }}"
|
||||
state: present
|
||||
marker: "# {mark} MANAGED BY OPENSTACK-ANSIBLE-SECURITY"
|
||||
insertbefore: EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user