15 lines
388 B
Django/Jinja
15 lines
388 B
Django/Jinja
#cloud-config
|
|
|
|
preserve_hostname: False
|
|
hostname: {{ inventory_hostname }}
|
|
|
|
users:
|
|
- name: ansible
|
|
ssh_authorized_keys:
|
|
- {{ lookup("file", "private/keyfile.pub") }}
|
|
sudo: ['ALL=(ALL) NOPASSWD:ALL']
|
|
groups: sudo
|
|
shell: /bin/bash
|
|
lock_passwd: false
|
|
hased_passwd: $6$Cn$5aLlLb270IIO2zBMWL1/qOMiWeXABYIdYYRF7cSMXEisUUgEHxCq81sJyF9LNBxKbBv5XyJ9OWwWrt/o6qus./
|