forked from infra/ansible
Cleanup whitespace
This commit is contained in:
parent
cffa318bea
commit
275b9a6071
@ -1,4 +1,5 @@
|
||||
---
|
||||
|
||||
dnskey_file: "/etc/nsupdate.key"
|
||||
dnskey_algorithm: "hmac-sha512"
|
||||
dnskey_server: "neon.binary-kitchen.net"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user