lab-ansible/cloud-init/vps.cfg
2024-02-04 16:10:17 +01:00

14 lines
298 B
YAML

# vim: ft=yaml
#cloud-config
ssh_pwauth: false
users:
- name: ansible
gecos: Ansible User
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
lock_passwd: true
ssh_authorized_keys:
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDyAuOqh0vcpLMBa8FFbvrTOgw8N+bcImFzyBspfQDAf ansible"