kolla/ansible/roles/cleanup/tasks/copy_tools.yml
Mauricio Lima 8588bd655e Add a role to cleanup containers after deployment
Change-Id: I5f422574d7e50ec9a1e5862b66ecbf39fe1594d2
Closes-Bug: #1531721
Implements: blueprint ansible-cleanup-role
2016-04-19 10:00:59 -04:00

24 lines
536 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