forked from ISTI-ansible-roles/ansible-roles
Merge branch 'master' of adellam/ansible-roles into master
This commit is contained in:
commit
ac63f56cc2
|
@ -1,5 +1,11 @@
|
|||
---
|
||||
- block:
|
||||
- name: Stop and disable systemd-resolved
|
||||
service: name=systemd-resolved state=stopped enabled=no
|
||||
when:
|
||||
- ansible_distribution_major_version >= '18'
|
||||
- ansible_distribution_file_variety == "Debian"
|
||||
|
||||
- name: Get the Powerdns repo key
|
||||
apt_key: url={{ powerdns_auth_repo_key }} state=present
|
||||
|
||||
|
@ -7,12 +13,10 @@
|
|||
apt_repository: repo='{{ powerdns_auth_repo_data }}' state=present update_cache=yes
|
||||
|
||||
- name: Install the powerdns packages
|
||||
apt: pkg={{ item }} state=present
|
||||
with_items: '{{ powerdns_auth_pkgs }}'
|
||||
apt: pkg={{ powerdns_auth_pkgs }} state=present
|
||||
|
||||
- name: Install the powerdns DB backend packages
|
||||
apt: pkg={{ item }} state=present
|
||||
with_items: '{{ powerdns_auth_db_pkgs }}'
|
||||
apt: pkg={{ powerdns_auth_db_pkgs }} state=present
|
||||
when: powerdns_auth_use_db_backend
|
||||
|
||||
- name: Install the powerdns main configuration file
|
||||
|
|
|
@ -33,6 +33,12 @@ allow-notify-from={%for ip in pdns_allow_notify_from %}{{ ip }}{%if not loop.las
|
|||
#allow-unsigned-notify=yes
|
||||
allow-unsigned-notify={{ pdns_allow_unsigned_notify | default('yes') }}
|
||||
|
||||
|
||||
#################################
|
||||
# superslave (boolean)
|
||||
#
|
||||
superslave={{ pdns_i_am_superslave | default('no') }}
|
||||
|
||||
#################################
|
||||
# allow-unsigned-supermaster Allow supermasters to create zones without TSIG signed NOTIFY
|
||||
#
|
||||
|
@ -69,10 +75,12 @@ api-key={{ powerdns_auth_api_key | default(omit) }}
|
|||
#
|
||||
# api-logfile=/var/log/pdns.log
|
||||
|
||||
{% if powerdns_auth_minor == 1 %}
|
||||
#################################
|
||||
# api-readonly Disallow data modification through the REST API when set
|
||||
#
|
||||
api-readonly={{ powerdns_auth_api_readonly | default('no') }}
|
||||
{% endif %}
|
||||
|
||||
#################################
|
||||
# axfr-lower-serial Also AXFR a zone from a master with a lower serial
|
||||
|
@ -248,6 +256,9 @@ dnsupdate={{ powerdns_dnsupdate | default('no') }}
|
|||
# forward-notify IP addresses to forward received notifications to regardless of master or slave settings
|
||||
#
|
||||
# forward-notify=
|
||||
{% if powerdns_forward_notify is defined %}
|
||||
forward-notify={{ powerdns_forward_notify }}
|
||||
{% endif %}
|
||||
|
||||
#################################
|
||||
# guardian Run within a guardian process
|
||||
|
|
Loading…
Reference in New Issue