From 34aa9c1e449823c2eb5a285125e2a118c65338ec Mon Sep 17 00:00:00 2001 From: Ludovico Pavesi Date: Thu, 3 Jun 2021 01:49:14 +0200 Subject: [PATCH] Remove temporary files from #38 now that they are not in /tmp anymore --- tasks/install_389ds.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tasks/install_389ds.yml b/tasks/install_389ds.yml index 3dd8660..dc08012 100644 --- a/tasks/install_389ds.yml +++ b/tasks/install_389ds.yml @@ -126,6 +126,15 @@ - not dirsrv_instance_dir_exists - not dirsrv_legacy loop: "{{ dirsrv_install_additional_ldif }}" + + - name: Delete temporary additional ldif files (dsconf) + file: + path: "{{ dirsrv_install_additional_ldif_dir }}/{{ item | basename }}" + state: absent + when: + - not dirsrv_instance_dir_exists + - not dirsrv_legacy + loop: "{{ dirsrv_install_additional_ldif }}" always: - name: Remove installation template file: