summaryrefslogtreecommitdiffstats
path: root/ansible/roles/rancher/molecule/default/cleanup.yml
blob: d4bf44953029ec3c8ff1d794b1332d99b1a055ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- 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'}