aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/destroy/tasks/cleanup_containers.yml
blob: c6aee8ef5e80cb08c7419d9441885f62b472d1d7 (plain)
1
2
3
4
5
6
7
8
9
10
---
- name: Destroying all Kolla containers and volumes on compute node
  environment:
    COMPUTE: true
  command: /tmp/kolla-cleanup/tools/cleanup-containers
  when: inventory_hostname in groups['compute']

- name: Destroying all Kolla containers and volumes on non compute node
  command: /tmp/kolla-cleanup/tools/cleanup-containers
  when: inventory_hostname not in groups['compute']