chore: remove shadow i attr

This commit is contained in:
2024-02-25 20:46:18 +00:00
parent 8dc150a911
commit c574bee0df

View File

@@ -1,16 +1,6 @@
---
- name: Delete i attr in shadow file
file:
path: /etc/shadow
attr: '-i'
- name: Change password root user
user:
name: "root"
state: present
password: "{{ root_password | password_hash('sha512') }}"
- name: Setup i attr in shadow file
file:
path: /etc/shadow
attr: i