3e1666687c
Remove some old ones which were in the wrong place and out of date. Change-Id: I4303e66edc7d3dc00c455a0990b0b3be0f5f91a6 Depends-On: https://review.openstack.org/586699
67 lines
1.6 KiB
YAML
67 lines
1.6 KiB
YAML
# Run this with "-f 20"
|
|
|
|
- hosts: 'zuul01.openstack.org'
|
|
any_errors_fatal: true
|
|
tasks:
|
|
- name: Stop Zuul Scheduler
|
|
service:
|
|
name: zuul-scheduler
|
|
state: stopped
|
|
become: true
|
|
become_user: root
|
|
- name: Stop Zuul Web
|
|
service:
|
|
name: zuul-web
|
|
state: stopped
|
|
become: true
|
|
become_user: root
|
|
- name: Stop Zuul Finger Gateway
|
|
service:
|
|
name: zuul-fingergw
|
|
state: stopped
|
|
become: true
|
|
become_user: root
|
|
- name: Wait for (3h10m) to stop Zuul Scheduler
|
|
wait_for:
|
|
path: /var/run/zuul/scheduler.pid
|
|
state: absent
|
|
timeout: 11400
|
|
- name: Wait for (3h10m) to stop Zuul Web
|
|
wait_for:
|
|
path: /var/run/zuul/web.pid
|
|
state: absent
|
|
timeout: 11400
|
|
- name: Wait for (3h10m) to stop Zuul Finger Gateway
|
|
wait_for:
|
|
path: /var/run/zuul/fingergw.pid
|
|
state: absent
|
|
timeout: 11400
|
|
|
|
- hosts: 'zm*.openstack.org'
|
|
tasks:
|
|
- name: Stop Zuul Merger
|
|
service:
|
|
name: zuul-merger
|
|
state: stopped
|
|
become: true
|
|
become_user: root
|
|
- name: Wait for (3h10m) to stop Zuul Merger
|
|
wait_for:
|
|
path: /var/run/zuul/merger.pid
|
|
state: absent
|
|
timeout: 11400
|
|
|
|
- hosts: 'ze*.openstack.org'
|
|
tasks:
|
|
- name: Stop Zuul Executor
|
|
service:
|
|
name: zuul-executor
|
|
state: stopped
|
|
become: true
|
|
become_user: root
|
|
- name: Wait for (3h10m) to stop Zuul Executor
|
|
wait_for:
|
|
path: /var/run/zuul/executor.pid
|
|
state: absent
|
|
timeout: 11400
|