Create jenknis slave root FS

This commit is contained in:
Mikolaj Izdebski 2015-07-29 08:42:36 +00:00
parent d7cf130dc9
commit b1e703c333
2 changed files with 8 additions and 1 deletions

View file

@ -2,7 +2,7 @@
<slave>
<name>{{ item.name }}</name>
<description>{{ item.description }}</description>
<remoteFS>&apos;./jenkins-slave</remoteFS>
<remoteFS>/srv/jenkins</remoteFS>
<numExecutors>1</numExecutors>
<mode>NORMAL</mode>
<retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>

View file

@ -23,3 +23,10 @@
- jenkins
- jenkins/slave
- config
- name: create workspace directory
action: file state=directory path=/srv/jenkins owner=jenkins group=jenkins
tags:
- jenkins
- jenkins/slave
- config