disable password logins by default in VMs

restructure terraform database module
This commit is contained in:
Pim Kunis 2023-12-30 14:34:21 +01:00
parent c16d217bb5
commit 989ef332bb
4 changed files with 77 additions and 9 deletions

View file

@ -3,12 +3,6 @@ hostname: "${hostname}"
manage_etc_hosts: true
disable_root: false
chpasswd:
list: |
root:root
expire: False
ssh_pwauth: true
ssh_authorized_keys:
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOodpLr+FDRyKyHjucHizNLVFHZ5AQmE9GmxMnOsSoaw pimkunis@thinkpadpim"
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINUZp4BCxf7uLa1QWonx/Crf8tYZ5MKIZ+EuaBa82LrV user@user-laptop"