From 3378592b7de927505d7dcd29d307a312d54213e7 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 22 Apr 2016 14:44:37 -0400 Subject: [PATCH] default to being exclusive, always Signed-off-by: Alfredo Deza --- ansible/slave.yml | 2 +- ansible/slave.yml.j2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.3