Build Windows Templates in RHV

This commit is contained in:
2021-05-03 13:47:44 -04:00
parent 595021d449
commit 28c9375b0d
290 changed files with 10931 additions and 159 deletions

View File

@@ -0,0 +1,16 @@
---
- name: Cleaning up challenge DNS entries for domains {{ ', '.join(acme_certificate_domains) }} via NS1 API
ns1_record:
apiKey: "{{ acme_certificate_ns1_secret_key }}"
name: "{{ item.key }}"
zone: "{{ item.key | regex_replace('^(?:.*\\.|)([^.]+\\.[^.]+)$', '\\1') }}"
state: absent
type: TXT
answers: []
delegate_to: localhost
run_once: true
when: "'_acme-challenge' in item.key"
with_dict: "{{ acme_certificate_INTERNAL_challenge.get('challenge_data_dns', {}) }}"
tags:
- issue-tls-certs-newkey
- issue-tls-certs