Add playbook to run JJB on all jenkins masters

Change-Id: Ic60a3379ca79ad04ae959f3e7acc6ec46d3b32cc
This commit is contained in:
James E. Blair 2016-02-08 11:10:12 -08:00
parent 75abc5bc4b
commit 5cb4ec7f5d

10
playbooks/run_jjb.yaml Normal file
View File

@ -0,0 +1,10 @@
# Run JJB on all of the jenkins hosts. Use this if JJB has exceeded
# the default puppet timeout. Be sure to use "-f <num>" to run it in
# parallel.
---
- hosts: 'jenkins.openstack.org:~jenkins\d+.openstack.org'
tasks:
- name: run jjb
shell: jenkins-jobs update --delete-old /etc/jenkins_jobs/config
async: 7200
poll: 30