ansible-test/roles/virt_vm/templates/ci-userdata.j2
2021-06-06 21:46:18 +02:00

10 lines
193 B
Django/Jinja

#cloud-config
users:
- name: ansible
ssh_authorized_keys:
- {{ lookup("file", "private/keyfile.pub") }}
sudo: ['ALL=(ALL) NOPASSWD:ALL']
groups: sudo
shell: /bin/bash