Cleanup whitespace

This commit is contained in:
Markus 2019-02-13 14:28:16 +01:00
parent cffa318bea
commit 275b9a6071
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
--- ---
dnskey_file: "/etc/nsupdate.key" dnskey_file: "/etc/nsupdate.key"
dnskey_algorithm: "hmac-sha512" dnskey_algorithm: "hmac-sha512"
dnskey_server: "neon.binary-kitchen.net" dnskey_server: "neon.binary-kitchen.net"

View File

@ -1,5 +1,6 @@
--- ---
- name: Get nsupdate.key
- name: Get nsupdate.key
shell: "pdnsutil list-tsig-keys | grep '^acme-{{ inventory_hostname }}. {{ acme_dnskey_algorithm }}'" shell: "pdnsutil list-tsig-keys | grep '^acme-{{ inventory_hostname }}. {{ acme_dnskey_algorithm }}'"
register: "pdns_key" register: "pdns_key"
failed_when: "False" failed_when: "False"
@ -24,7 +25,7 @@
register: "pdns_genkey" register: "pdns_genkey"
when: "pdns_key is defined and pdns_key.rc != 0" when: "pdns_key is defined and pdns_key.rc != 0"
delegate_to: "{{ acme_dnskey_server }}" delegate_to: "{{ acme_dnskey_server }}"
- name: Get nsupdate.key again - name: Get nsupdate.key again
shell: "pdnsutil list-tsig-keys | grep '^acme-{{ inventory_hostname }}. {{ acme_dnskey_algorithm }}'" shell: "pdnsutil list-tsig-keys | grep '^acme-{{ inventory_hostname }}. {{ acme_dnskey_algorithm }}'"
register: "pdns_key" register: "pdns_key"