summaryrefslogtreecommitdiffstats
path: root/ansible/roles
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/certificates/molecule/default/cleanup.yml6
-rw-r--r--ansible/roles/certificates/molecule/ubuntu/molecule.yml1
2 files changed, 7 insertions, 0 deletions
diff --git a/ansible/roles/certificates/molecule/default/cleanup.yml b/ansible/roles/certificates/molecule/default/cleanup.yml
new file mode 100644
index 00000000..f1d60165
--- /dev/null
+++ b/ansible/roles/certificates/molecule/default/cleanup.yml
@@ -0,0 +1,6 @@
+---
+- name: Cleanup infra
+ hosts: all
+ ignore_unreachable: true
+ roles:
+ - cleanup-certificates
diff --git a/ansible/roles/certificates/molecule/ubuntu/molecule.yml b/ansible/roles/certificates/molecule/ubuntu/molecule.yml
index c2854e3b..69971175 100644
--- a/ansible/roles/certificates/molecule/ubuntu/molecule.yml
+++ b/ansible/roles/certificates/molecule/ubuntu/molecule.yml
@@ -31,6 +31,7 @@ provisioner:
ANSIBLE_LIBRARY: ../../../../library
playbooks:
converge: ../default/converge.yml
+ cleanup: ../default/cleanup.yml
inventory:
links:
group_vars: ../../../../group_vars/