diff --git a/ansible/bootstrap.yml b/ansible/bootstrap.yml index de82a52..40abdb1 100644 --- a/ansible/bootstrap.yml +++ b/ansible/bootstrap.yml @@ -17,7 +17,8 @@ # Directly generate hash # https://www.lisenet.com/2019/ansible-generate-crypted-passwords-for-the-user-module/ password: "{{ ansible_crypted_password | password_hash('sha512') }}" - shell: /bin/bash + shell: /bin/bash + update_password: on_create system: yes home: /srv/ansible state: present