Added DNS configuration for gitea

This commit is contained in:
2025-06-28 17:58:17 +02:00
parent e63895b5b7
commit 1344d1a2ea

View File

@@ -62,4 +62,14 @@
- name: Execute Cleanup Routines
include_tasks: cleanup.yml
when: mode_cleanup
when: mode_cleanup
- name: Include DNS role to register Gitea domain(s)
include_role:
name: dns-records-cloudflare
vars:
cloudflare_api_token: "{{ certbot_dns_api_token }}"
cloudflare_domains: "{{ [ domains | get_domain(application_id) ] }}"
cloudflare_target_ip: "{{ networks.internet.ip4 }}"
cloudflare_proxied: false
when: dns_provider == 'cloudflare'