Skip to content

Commit

Permalink
Merge pull request #70 from systemli/enh/debian12
Browse files Browse the repository at this point in the history
Add support for Debian Bookworm
  • Loading branch information
doobry-systemli authored Jun 18, 2023
2 parents d1abbb9 + a678cbe commit 2234306
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ on:
jobs:
integration:
name: Integration
uses: systemli/github-ansible-workflow/.github/workflows/ansible-integration-workflow.yaml@v1.1.0
uses: systemli/github-ansible-workflow/.github/workflows/ansible-integration-workflow.yaml@v1.2.0
with:
distros: '[ "debian11", "debian10" ]'
distros: '[ "debian12", "debian11" ]'
5 changes: 1 addition & 4 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
bind9_user: bind
bind9_group: bind

# Listen on IPv6 interfaces
bind9_ipv6: yes

# Run bind as a DNS recursor?
bind9_recursor: no

Expand Down Expand Up @@ -140,4 +137,4 @@ bind9_log_categories:

bind9_generate_ddns_key: true
bind9_zonedir: /etc/bind/zones
bind9_local_keydir: files/bind/zones
bind9_local_keydir: files/bind/zones
10 changes: 0 additions & 10 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@
state: present
cache_valid_time: 600

- name: Copy bind9 defaults file
ansible.builtin.template:
src: "{{ bind9_templates | default('') }}bind/default.j2"
dest: /etc/default/bind9
owner: root
group: root
mode: 0644
notify:
- Restart bind9

- name: Setup logs
when: bind9_named_logging
block:
Expand Down
5 changes: 0 additions & 5 deletions templates/bind/default.j2

This file was deleted.

7 changes: 2 additions & 5 deletions templates/bind/named.conf.options.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,16 @@ options {
{{ forwarder }};
{% endfor %}
};
{% endif %}
{% endif %}

//========================================================================
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys
//========================================================================
dnssec-validation {{ bind9_dnssec_validation }};
{% if ansible_distribution_major_version|int >= 11 %}
qname-minimization {{ bind9_qname_minimization }};
{% endif %}
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };

listen-on-v6 { any; };
recursion {{ bind9_recursor|default()|ternary('yes', 'no') }};
allow-recursion { {{ bind9_recursor|default()|ternary('our_networks', 'none') }}; };

Expand Down

0 comments on commit 2234306

Please sign in to comment.