feat: disable root user & bootstrap ansible user at VM provisioning with cloud-init

This commit is contained in:
2026-08-18 16:48:09 +02:00
parent d80510e61d
commit a49e565124
3 changed files with 13 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
# cloud-config
users:
- name: ansible
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
ssh_authorized_keys:
- ${ssh_public_key}
ssh_pwauth: false
disable_root: true