system-config/playbooks/run_jjb.yaml
James E. Blair 5cb4ec7f5d Add playbook to run JJB on all jenkins masters
Change-Id: Ic60a3379ca79ad04ae959f3e7acc6ec46d3b32cc
2016-02-08 11:10:12 -08:00

11 lines
348 B
YAML

# 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