commit | 5f6e33397ce71d9731d330778402220b44cf96a9 | [log] [tgz] |
---|---|---|
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | Wed Jun 12 16:17:18 2019 +0200 |
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | Thu Jun 13 09:01:40 2019 +0200 |
tree | 98d997e29ff0db8c2557f76200e3ceeff2eee547 | |
parent | 3cd75cd8d71f471a0217f525bb8e4ed5315266a8 [diff] |
Add role level tests for 'vncserver' role A cleanup stage is also added to clean testing artifacts. Change-Id: I2255a0e90a0f609bd927d3d44dd05b5847fbdfb0 Issue-ID: OOM-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
diff --git a/ansible/test/play-infrastructure/molecule/default/cleanup.yml b/ansible/test/play-infrastructure/molecule/default/cleanup.yml index 9870a55..107ec8c 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 0000000..1fcb37d --- /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