🐛: fix SOA for mateu.be
All checks were successful
ansible-lint / lint-everything (push) Successful in 1m48s
All checks were successful
ansible-lint / lint-everything (push) Successful in 1m48s
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
$TTL 86400
|
||||
{% set firstserver = groups['master_nsdservers'] | first %}
|
||||
@ IN SOA {{ hostvars[firstserver].nsd_ansible_host | default(hostvars[firstserver].ansible_host) }}. tech.ovh.net. (
|
||||
{% set current_firstserver = hostvars[firstserver].nsd_ansible_host | default(hostvars[firstserver].ansible_host) %}
|
||||
@ IN SOA {{ current_firstserver | regex_replace('^([a-z0-9-]+)\\.', '\\1-v4.') if current_firstserver.endswith('mateu.be') else current_firstserver }}. tech.ovh.net. (
|
||||
{{ dns_serial }}; timestamp serial number
|
||||
28800; Refresh
|
||||
7200; Retry
|
||||
|
Reference in New Issue
Block a user