From cad4f10733e4b3147a3e9fab2d7b4118b34447ec Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 5 Mar 2018 16:23:54 -0500 Subject: [PATCH] Create old jenkins directories We've deleted these from DIB, and now need them to be created for legacy jobs. Change-Id: I9ef48d0b1983671900ca08684db982ee4336adbc Signed-off-by: Paul Belanger --- roles/legacy-copy-jenkins-scripts/tasks/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/legacy-copy-jenkins-scripts/tasks/main.yaml b/roles/legacy-copy-jenkins-scripts/tasks/main.yaml index e17f23f7..c2bffc39 100644 --- a/roles/legacy-copy-jenkins-scripts/tasks/main.yaml +++ b/roles/legacy-copy-jenkins-scripts/tasks/main.yaml @@ -1,11 +1,11 @@ -- name: Create /usr/local/jenkins/slave_scripts +- name: Create old jenkins folders + become: true file: path: /usr/local/jenkins/slave_scripts state: directory - name: Copy files to the slave_script dir on the node copy: - # Ansible will create this folder automatically dest: '/usr/local/jenkins/slave_scripts/' src: '{{ item }}' mode: 0755