From 37401ae7f82a38dbda682e6baf9fa83c24c98a1f Mon Sep 17 00:00:00 2001 From: Nemo Date: Sat, 15 Aug 2020 16:57:12 +0200 Subject: [PATCH] Add resolver vars and update authority_server vars --- .../group_vars/all/vault.yml.template | 2 ++ .../group_vars/authority_dns_server.yml | 31 ------------------- inventory_template/inventory.yml | 3 ++ 3 files changed, 5 insertions(+), 31 deletions(-) delete mode 100644 inventory_template/group_vars/authority_dns_server.yml diff --git a/inventory_template/group_vars/all/vault.yml.template b/inventory_template/group_vars/all/vault.yml.template index 821e3f8..76edcca 100644 --- a/inventory_template/group_vars/all/vault.yml.template +++ b/inventory_template/group_vars/all/vault.yml.template @@ -17,3 +17,5 @@ vault_public_key_backup_user_host: SSH_PUBKEY_OF_backup_user_USER_ON_BACKUP_HOST vault_ldap_admin_user_password: LDAP_ADMIN_PASSWORD vault_ldap_config_admin_user_password: LDAP_CONFIG_ADMIN_PASSWORD + +vault_rndc_key_secret: RNDC_KEY_SECRET diff --git a/inventory_template/group_vars/authority_dns_server.yml b/inventory_template/group_vars/authority_dns_server.yml deleted file mode 100644 index 916a19c..0000000 --- a/inventory_template/group_vars/authority_dns_server.yml +++ /dev/null @@ -1,31 +0,0 @@ ---- - -knot_interfaces: - - '0.0.0.0@53' - - '::@53' - -knot_keys: - - { id: 'slavekey01', algorithm: 'hmac-md5', secret: 'YourRandomKey==' } - -knot_extras: | - remote: - - id: slave01 - address: 1.2.3.4 - key: slavekey01 - - acl: - - id: acl_slave - address: [1.2.3.4] - action: transfer - key: slavekey01 - - template: - - id: default - storage: "/var/lib/knot" - file: "%s.zone" - acl: acl_slave - notify: [slave01] - -knot_zones: - - { name: 'mydomain.org', file: 'mydomain.org.zone', notify: '[slave01]', acl: 'acl_slave' } - diff --git a/inventory_template/inventory.yml b/inventory_template/inventory.yml index 9e4251e..366381d 100644 --- a/inventory_template/inventory.yml +++ b/inventory_template/inventory.yml @@ -12,6 +12,9 @@ all: authority_dns_server: hosts: mySecondCentOSHost.anotherexample.org: + resolver_dns_server: + hosts: + myFirstCentOSHost.example.org: munin_server: hosts: myFirstGentooHost.example.org: