copy to /tmp the temp cert to avoid not triggering ca-cert update
All checks were successful
test / Linting (push) Successful in 9s
test / Molecule tests (default, debian11) (push) Successful in 43s
test / Molecule tests (default, ubuntu2004) (push) Successful in 48s
test / Molecule tests (default, debian12) (push) Successful in 1m3s
test / Molecule tests (with_custom_ca, debian12) (push) Successful in 47s
test / Molecule tests (with_custom_ca, debian11) (push) Successful in 1m5s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m11s
test / Molecule tests (with_custom_ca, ubuntu2004) (push) Successful in 1m12s
test / Molecule tests (with_custom_ca, ubuntu2204) (push) Successful in 1m14s

This commit is contained in:
Bertrand Lanson 2023-07-02 20:32:30 +02:00
parent c54c1bb67e
commit d07b38c913

View File

@ -5,7 +5,7 @@
url: "{{ item.url }}"
validate_certs: false
force: "{{ import_vault_root_ca_certificate_force_download }}"
dest: "{{ import_vault_root_ca_cert_dir }}/{{ item.cert_name }}.crt"
dest: "/tmp/{{ item.cert_name }}.tmp"
mode: '0644'
loop: "{{ import_vault_root_ca_certificate_list }}"