Simple terraform+ansible configuration to quickly spin up a development Docker swarm on my homeserver
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
428 B

1 year ago
  1. #cloud-config
  2. # vim: syntax=yaml
  3. debug: True
  4. disable_root: False
  5. ssh_deletekeys: False
  6. ssh_pwauth: True
  7. timezone: Europe/Berlin
  8. package_upgrade: True
  9. package_reboot_if_required: True
  10. packages:
  11. - python3
  12. users:
  13. - name: deploy
  14. primary_group: deploy
  15. groups: sudo
  16. shell: /bin/bash
  17. uid: 1000
  18. lock_passwd: False
  19. passwd: "$1$sEv2FKoG$2SAYYCepb/A3cvs/dYl8d."
  20. ssh_authorized_keys:
  21. - "${pubkey}"