remove the local crs
This commit is contained in:
parent
abf7f30365
commit
f9a9c48942
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue