aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/cleanup/tasks/copy_tools.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/cleanup/tasks/copy_tools.yml')
-rw-r--r--ansible/roles/cleanup/tasks/copy_tools.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/ansible/roles/cleanup/tasks/copy_tools.yml b/ansible/roles/cleanup/tasks/copy_tools.yml
new file mode 100644
index 000000000..737233c8e
--- /dev/null
+++ b/ansible/roles/cleanup/tasks/copy_tools.yml
@@ -0,0 +1,23 @@
+---
+- 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