From beccc371b7909520de367175d43d858ce53e1ace Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 13 Jul 2023 12:05:12 +0200 Subject: [PATCH] mkcert certs: flat fetch destination. --- tasks/certificate_from_private_ca.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/certificate_from_private_ca.yml b/tasks/certificate_from_private_ca.yml index f95f19a..82f9eb5 100644 --- a/tasks/certificate_from_private_ca.yml +++ b/tasks/certificate_from_private_ca.yml @@ -22,7 +22,8 @@ - name: Get the certificate and its key from the CA server ansible.builtin.fetch: src: "/srv/mkcert-ca/{{ item }}" - dest: "files/{{ item }}" + dest: "files/" + flat: true loop: - "{{ mkcert_cert_name }}" - "{{ mkcert_key_name }}"