29 lines
883 B
Django/Jinja
29 lines
883 B
Django/Jinja
#{
|
|
# acme_dns rfc2136 {
|
|
# key_name "dynupd"
|
|
# key_alg "hmac-sha256"
|
|
# # declared in secrets.en: https://aryak.me/blog/01-knot
|
|
# key "{{ rfc2136_key }}"
|
|
# server "107.189.12.96:53"
|
|
# }
|
|
# acme_ca https://acme-v02.api.letsencrypt.org/directory
|
|
#}
|
|
:80 {
|
|
redir https://wiki.projectsegfau.lt/index.php?title={{ inventory_hostname }}
|
|
}
|
|
{% if inventory_hostname == 'ansible01' %}
|
|
:691 {
|
|
redir https://wiki.projectsegfau.lt/index.php?title={{ inventory_hostname }}
|
|
}
|
|
{% elif inventory_hostname == 'ansible02' %}
|
|
:692 {
|
|
redir https://wiki.projectsegfau.lt/index.php?title={{ inventory_hostname }}
|
|
}
|
|
{% elif inventory_hostname == 'ansible03' %}
|
|
:693 {
|
|
redir https://wiki.projectsegfau.lt/index.php?title={{ inventory_hostname }}
|
|
}
|
|
{% else %}
|
|
# Nothing extra defined
|
|
{% endif %}
|