system-config/playbooks/zuul_start.yaml
James E. Blair 3e1666687c Add playbooks to start/stop/restart zuul
Remove some old ones which were in the wrong place and out of date.

Change-Id: I4303e66edc7d3dc00c455a0990b0b3be0f5f91a6
Depends-On: https://review.openstack.org/586699
2018-07-27 14:32:46 -07:00

41 lines
843 B
YAML

# Run this with "-f 20"
- hosts: 'zuul01.openstack.org'
tasks:
- name: Start Zuul Scheduler
service:
name: zuul-scheduler
state: started
become: true
become_user: root
- name: Stop Zuul Web
service:
name: zuul-web
state: started
become: true
become_user: root
- name: Stop Zuul Finger Gateway
service:
name: zuul-fingergw
state: started
become: true
become_user: root
- hosts: 'zm*.openstack.org'
tasks:
- name: Start Zuul Mergers
service:
name: zuul-merger
state: started
become: true
become_user: root
- hosts: 'ze*.openstack.org'
tasks:
- name: Start Zuul Executors
service:
name: zuul-executor
state: started
become: true
become_user: root