system-config/playbooks/zuul_start.yaml
James E. Blair cc74e674db Limit zuul stop/start playbooks to zuul02
Rather than restarting the whole scheduler group, just restart
zuul02, which is our only production scheduler.  That will allow us
to boot zuul01 as a secondary scheduler and manually add/remove it
for testing.

Once we can reliably run two schedulers, we can revert this change.

Change-Id: I5518ea1d3a6a1d48460b0436d4d1eaf9d52b7ddb
2021-10-27 15:00:03 -07:00

23 lines
452 B
YAML

# Run this with "-f 20"
- hosts: 'zuul02.opendev.org:!disabled'
tasks:
- include_role:
name: zuul-scheduler
tasks_from: start
- include_role:
name: zuul-web
tasks_from: start
- hosts: 'zuul-merger:!disabled'
tasks:
- include_role:
name: zuul-merger
tasks_from: start
- hosts: 'zuul-executor:!disabled'
tasks:
- include_role:
name: zuul-executor
tasks_from: start