summaryrefslogtreecommitdiffstats
path: root/ansible/roles/rancher/molecule/default/cleanup.yml
diff options
context:
space:
mode:
authorMichal Zegan <m.zegan@samsung.com>2019-05-22 17:53:00 +0200
committerSamuli Silvius <s.silvius@partner.samsung.com>2019-05-30 10:52:57 +0000
commita83ae84c589effcd690180347294ceaa677c2c7b (patch)
treece46dbcd3cb9d44603e60b74df1bde14e54c08c6 /ansible/roles/rancher/molecule/default/cleanup.yml
parent7e5ddf0b3e0f23bf499b3311340253485d06fc33 (diff)
Modify rancher molecule tests to use dind
This change modifies molecule tests of rancher role to use prepare-docker-dind. Also: - it modifies prepare-common role to retrieve cluster_ip of the actual node in question, - it fixes the rancher role itself to work at all by removing auto_remove. It has been tested by running molecule converge. Change-Id: I7af4e9998feedd5f8fc3df8215e03c1b0485529c Issue-ID: OOM-1864 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Diffstat (limited to 'ansible/roles/rancher/molecule/default/cleanup.yml')
-rw-r--r--ansible/roles/rancher/molecule/default/cleanup.yml14
1 files changed, 0 insertions, 14 deletions
diff --git a/ansible/roles/rancher/molecule/default/cleanup.yml b/ansible/roles/rancher/molecule/default/cleanup.yml
deleted file mode 100644
index d4bf4495..00000000
--- a/ansible/roles/rancher/molecule/default/cleanup.yml
+++ /dev/null
@@ -1,14 +0,0 @@
----
-- name: Cleanup host
- hosts: localhost
- roles:
- - role: cleanup-containers
- vars:
- container_list:
- - rancher-agent
- - rancher-server
- - role: cleanup-rancher
- vars:
- container_list_by_label:
- - { 'label':'io.rancher.project.name', 'value':'healthcheck'}
- - { 'label':'io.rancher.project.name', 'value':'kubernetes'}