From 2921e48a4eaa431aaf62b5ce001c2adf622af48e Mon Sep 17 00:00:00 2001 From: Christian Iuga Date: Fri, 7 Oct 2022 13:49:49 +0200 Subject: [PATCH] add Debian11 --- meta/main.yml | 1 + vars/Debian-11.yml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 vars/Debian-11.yml diff --git a/meta/main.yml b/meta/main.yml index c6fd2d87..ddabccfb 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -17,6 +17,7 @@ galaxy_info: - jessie - stretch - buster + - bullseye - name: FreeBSD versions: - 12.1 diff --git a/vars/Debian-11.yml b/vars/Debian-11.yml new file mode 100644 index 00000000..2caa9ec0 --- /dev/null +++ b/vars/Debian-11.yml @@ -0,0 +1,34 @@ +# Distro specific variables for Debian +--- +bind_default_python_version: '3' +bind_packages: + - "{{ ( bind_python_version == '3' ) | ternary( 'python3-netaddr', 'python-netaddr' ) }}" + - "{{ ( bind_python_version == '3' ) | ternary( 'python3-dnspython', 'python-dnspython' ) }}" + - bind9 + - bind9utils + +bind_service: named + +# Main config file +bind_config: /etc/bind/named.conf + +# Localhost zone +bind_default_zone_files: + - /etc/bind/named.conf.default-zones + +# Directory with run-time stuff +bind_dir: /var/cache/bind +bind_conf_dir: "/etc/bind" +auth_file: "auth_transfer.conf" +bind_auth_file: "{{ bind_conf_dir }}/{{ auth_file }}" + +bind_owner: root +bind_group: bind + +bind_bindkeys_file: "/etc/named.iscdlv.key" +bind_pid_file: "/run/named/named.pid" +bind_session_keyfile: "/run/named/session.key" + +# Custom location for zone files +bind_zone_dir: "{{ bind_dir }}" +bind_secondary_dir: "{{ bind_dir }}/secondary"