From 8227a2462a719808fb5cf7398d49b2cca220c3b4 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 15 May 2018 18:27:37 +0200 Subject: [PATCH] Fix some typos in the global variables and the templates. --- powerdns-authoritative/defaults/main.yml | 3 ++- powerdns-authoritative/tasks/main.yml | 2 +- powerdns-authoritative/templates/pdns.local.conf | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/powerdns-authoritative/defaults/main.yml b/powerdns-authoritative/defaults/main.yml index 1f72f48e..e052af6d 100644 --- a/powerdns-authoritative/defaults/main.yml +++ b/powerdns-authoritative/defaults/main.yml @@ -22,9 +22,10 @@ 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: 'dpgsql-user', value: '' } + - { key: 'gpgsql-user', value: '' } - { key: 'gpgsql-password', value: '' } - { key: 'gpgsql-dnssec', value: '' } - { key: 'gpgsql-extra-connection-parameters', value: '' } diff --git a/powerdns-authoritative/tasks/main.yml b/powerdns-authoritative/tasks/main.yml index 44b437d6..f4752a72 100644 --- a/powerdns-authoritative/tasks/main.yml +++ b/powerdns-authoritative/tasks/main.yml @@ -20,7 +20,7 @@ notify: Restart powerdns - name: Install the powerdns local configuration file - template: src=pdns.conf dest=/etc/powerdns/pdns.d/pdns.local.conf owner=root group=root mode=0600 + template: src=pdns.local.conf dest=/etc/powerdns/pdns.d/pdns.local.conf owner=root group=root mode=0600 notify: Restart powerdns - name: Ensure that powerdns is running and enabled diff --git a/powerdns-authoritative/templates/pdns.local.conf b/powerdns-authoritative/templates/pdns.local.conf index ad12394f..3909265c 100644 --- a/powerdns-authoritative/templates/pdns.local.conf +++ b/powerdns-authoritative/templates/pdns.local.conf @@ -1,4 +1,5 @@ {% if powerdns_auth_use_db_backend %} {% for bk_data in powerdns_auth_backend_data %} {{ bk_data.key }}={{ bk_data.value }} +{% endfor %} {% endif %}