6d45786d59
The cleanup command in the external API is a misnomer and should be called destroy. Change-Id: I083e80699e09bb24266ce1bf549772a5de92a49e Closes-Bug: 1610364
32 lines
708 B
YAML
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
|