summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/cleanup-certificates/tasks
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-04-09 12:20:18 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-04-09 12:20:18 +0200
commit3a1efb1884db1d3911e71d0197ef41fcd823381d (patch)
tree1c0fd9f91f2298f03bef317598f6c929453bafb1 /ansible/test/roles/cleanup-certificates/tasks
parentfc5a01f9ce5f36e504829ccd71a51b02cb711a9a (diff)
[MOLECULE] Add cleanup task for 'certificates' role
Change-Id: Ifb9c9627d840158d8a4be3a1d1a1ea75dc4038c3 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/test/roles/cleanup-certificates/tasks')
-rw-r--r--ansible/test/roles/cleanup-certificates/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/test/roles/cleanup-certificates/tasks/main.yml b/ansible/test/roles/cleanup-certificates/tasks/main.yml
new file mode 100644
index 00000000..69a904f1
--- /dev/null
+++ b/ansible/test/roles/cleanup-certificates/tasks/main.yml
@@ -0,0 +1,8 @@
+---
+- name: Clean certificates role ephemeral directories
+ file:
+ path: "{{ item }}"
+ state: absent
+ delegate_to: localhost
+ loop:
+ - certs