deb wants a .crt extension under ca-certificates
This commit is contained in:
parent
714ac353f9
commit
9ffcccc486
|
@ -67,7 +67,7 @@
|
||||||
- name: Download the letsencrypt CA files on deb
|
- name: Download the letsencrypt CA files on deb
|
||||||
get_url:
|
get_url:
|
||||||
url: '{{ trusted_ca_letsencrypt_ca_certificates_url }}/{{ item.ca }}'
|
url: '{{ trusted_ca_letsencrypt_ca_certificates_url }}/{{ item.ca }}'
|
||||||
dest: '{{ trusted_ca_deb_path }}/{{ item.ca }}'
|
dest: '{{ trusted_ca_deb_path }}/{{ item.ca }}.crt'
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0444
|
mode: 0444
|
||||||
|
@ -85,6 +85,13 @@
|
||||||
loop: '{{ expired_ca_letsencrypt_ca_files }}'
|
loop: '{{ expired_ca_letsencrypt_ca_files }}'
|
||||||
register: letsencrypt_ca_files_removal
|
register: letsencrypt_ca_files_removal
|
||||||
|
|
||||||
|
- name: Ensure that the expired CA files are not present
|
||||||
|
file:
|
||||||
|
dest: '{{ trusted_ca_deb_path }}/{{ item }}.crt'
|
||||||
|
state: absent
|
||||||
|
loop: '{{ expired_ca_letsencrypt_ca_files }}'
|
||||||
|
register: letsencrypt_ca_files_removal
|
||||||
|
|
||||||
- name: Ensure that the expired CA files are not present
|
- name: Ensure that the expired CA files are not present
|
||||||
file:
|
file:
|
||||||
dest: '{{ trusted_ca_deb_path }}/{{ item }}'
|
dest: '{{ trusted_ca_deb_path }}/{{ item }}'
|
||||||
|
|
Loading…
Reference in New Issue