Merge branch 'master' of ssh://gitea.mewissen.site:22422/rene/ansible-pull
This commit is contained in:
0
roles/backup/files/config/endor_excludes.txt
Normal file
0
roles/backup/files/config/endor_excludes.txt
Normal file
0
roles/backup/files/config/endor_includes.txt
Normal file
0
roles/backup/files/config/endor_includes.txt
Normal file
@@ -101,16 +101,14 @@
|
||||
mode: "0644"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
force: no
|
||||
force: yes
|
||||
|
||||
- name: Nameserver | powerdns-server | set listening IPs
|
||||
when:
|
||||
- powerdns_secondary is defined
|
||||
- powerdns_secondary is true
|
||||
- powerdns_recursor is defined
|
||||
- powerdns_recursor is true
|
||||
template:
|
||||
src: "powerdns-server-sec-mysql-config.j2"
|
||||
src: "powerdns-server-sec-config.j2"
|
||||
dest: "/etc/powerdns/pdns.conf"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
|
||||
4
roles/nameserver/templates/powerdns-server-sec-config.j2
Normal file
4
roles/nameserver/templates/powerdns-server-sec-config.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
include-dir=/etc/powerdns/pdns.d
|
||||
launch=
|
||||
local-address={{ ansible_default_ipv4.address }}, [{{ ansible_default_ipv6.address }}], 127.0.0.1:553{% if wg_local_ip is defined %}, {{ wg_local_ip | ansible.utils.ipaddr('address') }}:553{% endif %}
|
||||
security-poll-suffix=
|
||||
@@ -1,4 +0,0 @@
|
||||
launch += gmysql
|
||||
gmysql-host = {{ pdns_pri_server }}
|
||||
gmysql-password = {{ pdns_db_passwd | default(lookup('password', '/etc/powerdns/pdns.d/.mysqlpw length=20')) }}
|
||||
gmysql-dnssec = Yes
|
||||
@@ -1,4 +1,4 @@
|
||||
include-dir=/etc/powerdns/pdns.d
|
||||
launch=
|
||||
local-address={{ ansible_default_ipv4.address }}, [{{ ansible_default_ipv6.address }}], 127.0.0.1:553{% if wg_local_ip is defined %}, {{ wg_local_ip | ansible.utils.ipaddr('address') }}:553{% endif %}
|
||||
security-poll-suffix=
|
||||
launch += gmysql
|
||||
gmysql-host = {{ pdns_pri_server }}
|
||||
gmysql-password = {{ pdns_db_passwd | default(lookup('password', '/etc/powerdns/pdns.d/.mysqlpw length=20')) }}
|
||||
gmysql-dnssec = Yes
|
||||
|
||||
Reference in New Issue
Block a user