d5fe8a30f9
Currently, when there are some qemu processes which may be some useful virtual machines running by the operator running on non compute node, the cleanup script will fail the cleanup operation for that node. We need to ignore the qemu process check for non compute nodes. Change-Id: If49a1a30764063935b2a65312de8f3b2357c7fbc Closes-bug: 1633005
11 lines
388 B
YAML
11 lines
388 B
YAML
---
|
|
- 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']
|