From 208d293e7f9ff26dc312eb7588bec8757bb8bfbe Mon Sep 17 00:00:00 2001 From: Marco Procaccini Date: Thu, 18 Jul 2024 11:39:07 +0200 Subject: [PATCH] ansible role aggiornato con spostamento variabili in group-vars --- defaults/main.yml | 45 +-------------------------------------------- vars/main.yml | 2 +- 2 files changed, 2 insertions(+), 45 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 7fdcf4d..21c44d2 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,48 +1,5 @@ --- -powerdns_auth_major: 4 -powerdns_auth_minor: 9 -# From https://repo.powerdns.com -powerdns_auth_version: '{{ powerdns_auth_major }}.{{ powerdns_auth_minor }}' -powerdns_auth_repo_url: "http://repo.powerdns.com/ubuntu" -powerdns_auth_repo_rel: "{{ ansible_distribution_release }}-auth-{{ powerdns_auth_major }}{{ powerdns_auth_minor }}" -powerdns_auth_key_url: 'https://repo.powerdns.com/FD380FBB-pub.asc' -powerdns_auth_repo_key: '/etc/apt/keyrings/powerdns-pub-{{ powerdns_auth_major }}{{ powerdns_auth_minor }}.asc' -# EPEL is a requiement. See vars/main.yml -powerdns_auth_el_repo: "https://repo.powerdns.com/repo-files/el-auth-{{ powerdns_auth_major }}{{ powerdns_auth_minor }}.repo" - -powerdns_auth_enable_api: true -powerdns_auth_enable_web_interface: true - -powerdns_auth_pkgs: - - pdns-server - - pdns-tools - - pdns-backend-lua2 - - pdns-backend-remote - - pdns-backend-pipe - -powerdns_auth_el_packages: - - pdns - - pdns-tools - - pdns-backend-lua2 - - pdns-backend-remote - - pdns-backend-pipe - -powerdns_auth_use_db_backend: true -powerdns_auth_backend_name: gpgsql -powerdns_auth_db_backend: pgsql -powerdns_auth_db_pkgs: - - 'pdns-backend-{{ powerdns_auth_db_backend }}' - -powerdns_auth_backend_data: - - { key: 'gpgsql-host', value: '127.0.0.1' } - - { key: 'gpgsql-port', value: 5432 } - - { key: 'gpgsql-dbname', value: '' } - - { key: 'gpgsql-user', value: '' } - - { key: 'gpgsql-password', value: '' } - - { key: 'gpgsql-dnssec', value: '' } - - { key: 'gpgsql-extra-connection-parameters', value: '' } - #pdns_eight_bit_query: 'no' # pdns_zone_transfer_ip: # - '0/0' @@ -59,7 +16,7 @@ powerdns_auth_backend_data: # powerdns_auth_api_key: 'use a vault file' # powerdns_auth_api_readonly: 'no' # powerdns_dnsupdate: 'no' -# powerdns_local_ipv4: '0.0.0.0' +powerdns_local_ipv4: '10.1.41.224' # powerdns_local_ipv4_fail: 'yes' # powerdns_local_port: 53 # powerdns_auth_primary: 'no' diff --git a/vars/main.yml b/vars/main.yml index 3913f11..cd21505 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,2 +1,2 @@ --- -centos_install_epel: true +