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,31 @@
---
# Create up challenge files directory on server.
- name: Creating challenge destination directory
file:
dest: "{{ acme_certificate_server_location }}"
state: directory
owner: "{{ acme_certificate_http_challenge_user }}"
group: "{{ acme_certificate_http_challenge_group }}"
mode: "{{ acme_certificate_http_challenge_folder_mode }}"
become: "{{ acme_certificate_http_become }}"
tags:
- issue-tls-certs-newkey
- issue-tls-certs
# Create challenge files on server.
- name: "Copying challenge files for domains {{ ', '.join(acme_certificate_domains) }}"
copy:
dest: >-
{{ [
acme_certificate_server_location,
item.value[acme_certificate_challenge].resource[('.well-known/acme-challenge/'|length):]
] | path_join }}
content: "{{ item.value[acme_certificate_challenge].resource_value }}"
owner: "{{ acme_certificate_http_challenge_user }}"
group: "{{ acme_certificate_http_challenge_group }}"
mode: "{{ acme_certificate_http_challenge_file_mode }}"
with_dict: "{{ acme_certificate_INTERNAL_challenge.challenge_data }}"
become: "{{ acme_certificate_http_become }}"
tags:
- issue-tls-certs-newkey
- issue-tls-certs