]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: allow for setting the number of executors on a slave 467/head
authorAndrew Schoen <aschoen@redhat.com>
Fri, 9 Sep 2016 14:25:31 +0000 (09:25 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 9 Sep 2016 14:36:18 +0000 (09:36 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ansible/examples/slave.yml

index 2fdf2ca6667cf0a56dbd58f67cde84b1abcca17a..d97268e6e7a091f4dadd6d8d792c99d25afde991 100644 (file)
         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