Ansible-Bootstrap/roles/virtualization/templates/cloud-user-data.yml.j2
2024-03-19 23:02:50 +01:00

10 lines
256 B
Django/Jinja

#cloud-config
hostname: "archiso"
ssh_pwauth: true
users:
- name: "{{ user_name }}"
primary_group: "{{ user_name }}"
groups: users
sudo: ALL=(ALL) NOPASSWD:ALL
passwd: "{{ user_password | password_hash('sha512') }}"
lock_passwd: False