2024-09-23 12:30:38 +00:00
|
|
|
- name: Delete default user
|
|
|
|
user:
|
2024-09-24 08:37:09 +00:00
|
|
|
name: "{{ default_user }}"
|
2024-09-23 12:30:38 +00:00
|
|
|
state: absent
|
|
|
|
remove: yes
|
|
|
|
- name: Change root password
|
|
|
|
user:
|
|
|
|
name: root
|
2024-09-27 11:26:47 +00:00
|
|
|
password: "{{ root_password | password_hash('sha512') }}"
|