mkcert certs: flat fetch destination.

This commit is contained in:
Andrea Dell'Amico 2023-07-13 12:05:12 +02:00
parent 6758633976
commit beccc371b7
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 1 deletions

View File

@ -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 }}"