ansible role aggiornato con spostamento variabili in group-vars

This commit is contained in:
Marco Procaccini 2024-07-18 11:39:07 +02:00
parent 407978949c
commit 208d293e7f
2 changed files with 2 additions and 45 deletions

View File

@ -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'

View File

@ -1,2 +1,2 @@
---
centos_install_epel: true