From: Alfredo Deza Date: Fri, 22 Apr 2016 18:44:37 +0000 (-0400) Subject: default to being exclusive, always X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F366%2Fhead;p=ceph-build.git default to being exclusive, always Signed-off-by: Alfredo Deza --- diff --git a/ansible/slave.yml b/ansible/slave.yml index 8c6a763e..a818e7c9 100644 --- a/ansible/slave.yml +++ b/ansible/slave.yml @@ -5,7 +5,7 @@ user: ubuntu vars: - jenkins_user: 'jenkins-build' - - exclusive: false + - exclusive: true tasks: - name: create a {{ jenkins_user }} user user: name={{ jenkins_user }} comment="Jenkins Build Slave User" home="/home/{{ jenkins_user }}" diff --git a/ansible/slave.yml.j2 b/ansible/slave.yml.j2 index cc71fbf0..d0768390 100644 --- a/ansible/slave.yml.j2 +++ b/ansible/slave.yml.j2 @@ -11,7 +11,7 @@ - api_uri: 'https://jenkins.ceph.com' - nodename: '${nodename}' - labels: '${labels}' - - exclusive: '${exclusive}' + tasks: - name: create a {{ jenkins_user }} user user: name={{ jenkins_user }} comment="Jenkins Build Slave User" @@ -152,4 +152,4 @@ remoteFS: '/home/{{ jenkins_user }}/build' # XXX this should be configurable, not all nodes should have one executor executors: 1 - exclusive: "{{ exclusive }}" + exclusive: true