kolla-ansible/ansible/roles/destroy/tasks/copy_tools.yml
Duane DeCapite 6d45786d59 Change cleanup to destroy as cleanup is a misnomer
The cleanup command in the external API is a misnomer and should
be called destroy.

Change-Id: I083e80699e09bb24266ce1bf549772a5de92a49e
Closes-Bug: 1610364
2016-08-08 13:37:10 -04:00

32 lines
708 B
YAML

---
- name: Creating /kolla-cleanup/tools directory on node
file:
state: directory
path: /tmp/kolla-cleanup/tools
- name: Copying validate-docker-execute.sh file
copy:
src: ../tools/validate-docker-execute.sh
dest: /tmp/kolla-cleanup/tools
mode: 0755
- name: Copying cleanup-containers file
copy:
src: ../tools/cleanup-containers
dest: /tmp/kolla-cleanup/tools
mode: 0755
- name: Copying cleanup-host file
copy:
src: ../tools/cleanup-host
dest: /tmp/kolla-cleanup/tools
mode: 0755
- name: Copying cleanup-images file
copy:
src: ../tools/cleanup-images
dest: /tmp/kolla-cleanup/tools
mode: 0755
when:
- destroy_include_images | bool