Add global variable for acme.serguzim.me host
This commit is contained in:
parent
40742e3214
commit
b6297638db
3 changed files with 5 additions and 2 deletions
|
@ -9,6 +9,9 @@ mailer:
|
||||||
host: mail.serguzim.me
|
host: mail.serguzim.me
|
||||||
port: 587
|
port: 587
|
||||||
|
|
||||||
|
acme_dns:
|
||||||
|
host: acme.serguzim.me
|
||||||
|
|
||||||
|
|
||||||
services_path: /opt/services/
|
services_path: /opt/services/
|
||||||
caddy_path: "{{ (services_path, 'caddy') | path_join }}"
|
caddy_path: "{{ (services_path, 'caddy') | path_join }}"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
acme_dns_svc:
|
acme_dns_svc:
|
||||||
domain: acme.serguzim.me
|
domain: "{{ acme_dns.host }}"
|
||||||
name: acme-dns
|
name: acme-dns
|
||||||
port: 80
|
port: 80
|
||||||
nsadmin: "{{ admin_email | regex_replace('@', '.') }}"
|
nsadmin: "{{ admin_email | regex_replace('@', '.') }}"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
caddy_acmedns_user: "{{ vault_caddy.acmedns.user }}"
|
caddy_acmedns_user: "{{ vault_caddy.acmedns.user }}"
|
||||||
caddy_acmedns_pass: "{{ vault_caddy.acmedns.pass }}"
|
caddy_acmedns_pass: "{{ vault_caddy.acmedns.pass }}"
|
||||||
caddy_acmedns_subd: "{{ vault_caddy.acmedns.subd }}"
|
caddy_acmedns_subd: "{{ vault_caddy.acmedns.subd }}"
|
||||||
caddy_acmedns_url: "https://acme.serguzim.me"
|
caddy_acmedns_url: "https://{{ acme_dns.host }}"
|
||||||
|
|
||||||
caddy_ports_default:
|
caddy_ports_default:
|
||||||
- 80:80
|
- 80:80
|
||||||
|
|
Reference in a new issue