Ensure /usr/local/jenkins

We remove /usr/local/jenkins from nodepool, ensure it exists before
copying into it.

Change-Id: I53794303d8f99485239bda85818d7b1098b7b2c7
This commit is contained in:
Andreas Jaeger 2018-02-27 19:37:32 +01:00
parent 065d5721d3
commit 931946f00c
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
- name: Create /usr/local/jenkins/slave_scripts
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