diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2021-04-09 12:20:18 +0200 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2021-04-22 08:49:23 +0200 |
commit | 4b30d836fa5e2eff7260e051d783ac70a9492f03 (patch) | |
tree | f3adcbf9f37fceb37cce523722f92e29ae4eafe2 /ansible/roles | |
parent | d7c17df711cd89f4270cc2972e7144283ea992c1 (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/roles')
-rw-r--r-- | ansible/roles/certificates/molecule/default/cleanup.yml | 6 | ||||
-rw-r--r-- | ansible/roles/certificates/molecule/ubuntu/molecule.yml | 1 |
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/ |