vn-ansible/roles/debian-base/tasks/root.yaml

10 lines
215 B
YAML

- name: Delete default user
user:
name: "{{ default_user }}"
state: absent
remove: yes
- name: Change root password
user:
name: root
password: "{{ root_password | password_hash('sha512') }}"