Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-09-29 09:30:29 +02:00
parent a0d76b5db7
commit 21d06bbd70

View File

@ -151,11 +151,10 @@
tasks:
- name: Create pi user
user:
create_home: yes
name: pi
password: "'raspberry' | password_hash('sha512')"
password: "{{ 'raspberry' | password_hash('sha512') }}"
shell: /bin/bash
update_password: on_create
generate_ssh_key: true
- name: change hostname
lineinfile: