summaryrefslogtreecommitdiffstats
path: root/ansible/test
diff options
context:
space:
mode:
authorSamuli Silvius <s.silvius@partner.samsung.com>2019-06-24 10:11:50 +0000
committerGerrit Code Review <gerrit@onap.org>2019-06-24 10:11:50 +0000
commitb86dfe843f17915af50746ef28bdeef7be700780 (patch)
tree62aa8295a77c0945b5c2d671a29f546c6c47e505 /ansible/test
parentf2f06700b7b9ad99c9c182fc01ee5cc0782ead78 (diff)
parent5f6e33397ce71d9731d330778402220b44cf96a9 (diff)
Merge "Add role level tests for 'vncserver' role"
Diffstat (limited to 'ansible/test')
-rw-r--r--ansible/test/play-infrastructure/molecule/default/cleanup.yml1
-rw-r--r--ansible/test/roles/cleanup-vncserver/tasks/main.yml6
2 files changed, 7 insertions, 0 deletions
diff --git a/ansible/test/play-infrastructure/molecule/default/cleanup.yml b/ansible/test/play-infrastructure/molecule/default/cleanup.yml
index 9870a553..107ec8ca 100644
--- a/ansible/test/play-infrastructure/molecule/default/cleanup.yml
+++ b/ansible/test/play-infrastructure/molecule/default/cleanup.yml
@@ -4,3 +4,4 @@
ignore_unreachable: true
roles:
- cleanup-nginx
+ - cleanup-vncserver
diff --git a/ansible/test/roles/cleanup-vncserver/tasks/main.yml b/ansible/test/roles/cleanup-vncserver/tasks/main.yml
new file mode 100644
index 00000000..1fcb37d8
--- /dev/null
+++ b/ansible/test/roles/cleanup-vncserver/tasks/main.yml
@@ -0,0 +1,6 @@
+---
+- name: Remove saved vncserver docker image
+ delegate_to: localhost
+ file:
+ path: /tmp/vncserver.tar
+ state: absent