From 91dd6b58041008860adaa71ce1d4540d083f5d5a Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Fri, 9 Sep 2016 09:25:31 -0500 Subject: [PATCH] ansible: allow for setting the number of executors on a slave Signed-off-by: Andrew Schoen --- ansible/examples/slave.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ansible/examples/slave.yml b/ansible/examples/slave.yml index 2fdf2ca6..d97268e6 100644 --- a/ansible/examples/slave.yml +++ b/ansible/examples/slave.yml @@ -207,6 +207,5 @@ host: "{{ ansible_default_ipv4.address }}" credentialsId: '39fa150b-b2a1-416e-b334-29a9a2c0b32d' remoteFS: '/home/{{ jenkins_user }}/build' - # XXX this should be configurable, not all nodes should have one executor - executors: 1 + executors: '{{ executors|default(1) }}' exclusive: true -- 2.47.3