kolla-ansible/ansible/roles/destroy/tasks/cleanup_containers.yml
caoyuan 8f2256d299 Optimise the destroy role by script module
Ansible provide script module to run shell script, The local script at
path will be transferred to the remote node and then executed, so no
need to copy script to remote node and use shell moulde to run it.
this patch optimise it.

Change-Id: If774502b66652f25593cda137cc8a5baefbd9695
2018-03-07 01:46:25 +00:00

4 lines
94 B
YAML

---
- name: Destroying all Kolla containers and volumes
script: ../tools/cleanup-containers