From 275b9a60710d2cdea502feacbb7ae66485e782ca Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Wed, 13 Feb 2019 14:28:16 +0100 Subject: [PATCH] Cleanup whitespace --- roles/acme-dnskey-generate/defaults/main.yml | 1 + roles/acme-dnskey-generate/tasks/main.yml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/acme-dnskey-generate/defaults/main.yml b/roles/acme-dnskey-generate/defaults/main.yml index 2dbeee1..4d4a09b 100644 --- a/roles/acme-dnskey-generate/defaults/main.yml +++ b/roles/acme-dnskey-generate/defaults/main.yml @@ -1,4 +1,5 @@ --- + dnskey_file: "/etc/nsupdate.key" dnskey_algorithm: "hmac-sha512" dnskey_server: "neon.binary-kitchen.net" diff --git a/roles/acme-dnskey-generate/tasks/main.yml b/roles/acme-dnskey-generate/tasks/main.yml index 0a850fe..6a3fd9d 100644 --- a/roles/acme-dnskey-generate/tasks/main.yml +++ b/roles/acme-dnskey-generate/tasks/main.yml @@ -1,5 +1,6 @@ --- -- name: Get nsupdate.key + +- name: Get nsupdate.key shell: "pdnsutil list-tsig-keys | grep '^acme-{{ inventory_hostname }}. {{ acme_dnskey_algorithm }}'" register: "pdns_key" failed_when: "False" @@ -24,7 +25,7 @@ register: "pdns_genkey" when: "pdns_key is defined and pdns_key.rc != 0" delegate_to: "{{ acme_dnskey_server }}" - + - name: Get nsupdate.key again shell: "pdnsutil list-tsig-keys | grep '^acme-{{ inventory_hostname }}. {{ acme_dnskey_algorithm }}'" register: "pdns_key"