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