remove the local crs

This commit is contained in:
histausse 2021-09-09 21:09:31 +02:00
parent abf7f30365
commit f9a9c48942
Signed by: histausse
GPG key ID: 67486F107F62E9E9

View file

@ -57,3 +57,11 @@
state: absent state: absent
delegate_to: localhost delegate_to: localhost
when: not key_file.stat.exists when: not key_file.stat.exists
- name: Remove the CSR
become: false
file:
path: "/tmp/ansible_hacky_pki_{{ cname }}.csr"
state: absent
delegate_to: localhost
when: not key_file.stat.exists