Fix certbot

certbot_on_virtu
Alexandre Iooss 2020-12-28 19:15:23 +01:00
parent 6523bfc82b
commit f3c31c072a
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
---
glob_certbot:
dns_rfc2136_server: '185.230.79.9'
dns_rfc2136_server: '172.16.10.147'
dns_rfc2136_name: certbot_challenge.
dns_rfc2136_secret: "{{ vault_certbot_dns_secret }}"
mail: root@crans.org

View File

@ -14,7 +14,7 @@
set_fact:
#dns_masters_ipv4: "{{ bind.masters | json_query('servers[].interface[?vlan_id==`2`].ipv4[]') }}"
dns_masters_ipv4:
- "185.230.79.9"
- "172.16.10.147"
cacheable: true
- name: Add DNS credentials
@ -36,4 +36,4 @@
mode: 0644
- name: Run certbot
command: certbot --non-interactive --config /etc/letsencrypt/conf.d/{{ certbot.certname }}.ini certonly
command: certbot --non-interactive --config /etc/letsencrypt/conf.d/{{ certbot.certname }}.ini certonly