Skip to content
Snippets Groups Projects
Commit d3b0fceb authored by Samuel Veloso's avatar Samuel Veloso
Browse files

Remove temporary certificates after installation is completed

parent 19b117a7
No related branches found
No related tags found
No related merge requests found
......@@ -751,6 +751,16 @@
state: absent
when: result_ipareplica_enable_ipa.changed
always:
- name: Cleanup temporary files
file:
path: "{{ item }}"
state: absent
with_items:
- "/etc/ipa/.tmp_pkcs12_dirsrv"
- "/etc/ipa/.tmp_pkcs12_http"
- "/etc/ipa/.tmp_pkcs12_pkinit"
when: not ansible_check_mode and
not (result_ipareplica_test.client_already_configured is defined or
result_ipareplica_test.server_already_configured is defined)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment