feat: terraform + ansible config to provision a host on hetzner & set cloudflare DNS

This commit is contained in:
2026-08-18 13:01:36 +02:00
commit fecf871eb1
9 changed files with 181 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
[defaults]
inventory = inventory.ini
host_key_checking = False
+5
View File
@@ -0,0 +1,5 @@
---
ansible_user: "ansible"
sysadmin_user: "alessandrovitali"
sysadmin_public_ssh_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAm/J+9YG+odym9In9C4iLcrfXlrlPK2TygtI7lBNNpl"
+2
View File
@@ -0,0 +1,2 @@
[dokploy]
dokploy ansible_host=${public_ip} ansible_user=debian
+8
View File
@@ -0,0 +1,8 @@
## ansible/setup.yml
- name: Setup dokploy machine
hosts: all
roles:
- role: studio.ansible.base
- role: studio.ansible.users
- role: studio.ansible.security
+7
View File
@@ -0,0 +1,7 @@
## ansible/requirements.yml
collections:
- name: studio.ansible
source: https://git.studiovita.li/studio/ansible.git ## HTTPS
type: git
version: dokploy