From 7238ccf32f392fb7805e1ae2f3f951c39237de57 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Thu, 13 Jun 2019 11:41:24 +0200 Subject: Add cleanup stage to 'nexus' role test List of docker images to download/cleanup by the prepare and cleanup stages is now defined in one place (prepare-nexus role defaults) for clarity and ease of management. Change-Id: I4c18912fd8c5eadc4d68e1bc10f5c2251d58634e Issue-ID: OOM-1915 Signed-off-by: Bartek Grzybowski --- ansible/test/play-infrastructure/molecule/default/cleanup.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ansible/test/play-infrastructure/molecule') diff --git a/ansible/test/play-infrastructure/molecule/default/cleanup.yml b/ansible/test/play-infrastructure/molecule/default/cleanup.yml index 107ec8ca..008543bd 100644 --- a/ansible/test/play-infrastructure/molecule/default/cleanup.yml +++ b/ansible/test/play-infrastructure/molecule/default/cleanup.yml @@ -1,7 +1,10 @@ --- - name: Cleanup - hosts: all + hosts: infrastructure ignore_unreachable: true + vars_files: + - ../../../../roles/nexus/defaults/main.yml roles: - cleanup-nginx + - cleanup-nexus - cleanup-vncserver -- cgit 1.2.3-korg