Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update(powerdns): bump version to 4.9.0 #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion roles/powerdns/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

powerdns_version: 4.8.3-r2
powerdns_version: 4.9.0-r3
powerdns_user: powerdns

powerdns_run_uid: "{{ powerdns_user_info.uid if (powerdns_user_info is defined) else powerdns_user }}"
Expand Down
23 changes: 15 additions & 8 deletions roles/powerdns/templates/pdns.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ local-port={{ powerdns_config_local_port | int }}
loglevel={{ powerdns_config_loglevel | int }}

#################################
# master Act as a master
# primary Act as a primary
#
#master=no
primary={{ 'yes' if powerdns_config_operation_mode == 'primary' else 'no' }}
#primary=no
primary={{ 'yes' if (powerdns_config_operation_mode == 'primary') else 'no' }}

#################################
# max-queue-length Maximum queuelength before considering situation lost
Expand Down Expand Up @@ -254,17 +254,24 @@ setuid={{ powerdns_config_setuid }}
# skip-cname=no

#################################
# slave Act as a slave
# secondary Act as a secondary
#
#slave=no
secondary={{ 'no' if powerdns_config_operation_mode == 'primary' else 'yes' }}
#secondary=no
secondary={{ 'no' if (powerdns_config_operation_mode == 'primary') else 'yes' }}

autosecondary={{ 'yes' if powerdns_config_autosecondary else 'no' }}

#################################
# slave-cycle-interval Reschedule failed SOA serial checks once every .. seconds
# xfr-cycle-interval Reschedule failed SOA serial checks once every .. seconds
#
# slave-cycle-interval=60
# xfr-cycle-interval=60
{% if powerdns_config_xfr_cycle_interval %}
xfr-cycle-interval={{ powerdns_config_xfr_cycle_interval }}
{% endif %}

{% if powerdns_config_secondary_do_renotify %}
secondary-do-renotify={{ 'yes' if powerdns_config_secondary_do_renotify else 'no' }}
{% endif %}

#################################
# smtpredirector Our smtpredir MX host
Expand Down
Loading