Adding solution for users with passwords. Fix block.

Signed-off-by: root@DERVISHx <nuno.carvalho@siemens.com>
This commit is contained in:
root@DERVISHx 2023-11-15 11:24:51 +00:00
parent e54ddf59fa
commit 1c15bb8f59
No known key found for this signature in database
GPG key ID: C68B144D8E6CCC46

View file

@ -1,7 +1,7 @@
--- ---
- name: "5.6.1.1 | PATCH | Ensure password expiration is 365 days or less" - name: "5.6.1.1 | PATCH | Ensure password expiration is 365 days or less"
block: block:
- name: "5.6.1.1 | PATCH | Set default." - name: "5.6.1.1 | PATCH | Set default."
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: /etc/login.defs path: /etc/login.defs