Ansible-Bootstrap/roles/virtualization/templates/cloud-user-data.yml.j2

10 lines
256 B
Plaintext
Raw Normal View History

2024-03-19 23:02:50 +01:00
#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