aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/destroy/tasks/copy_tools.yml
blob: 6a990e197c888acc1f054015221b3da4f0ac9bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
- 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