-
Notifications
You must be signed in to change notification settings - Fork 0
/
stop_all_zuul.yaml
42 lines (39 loc) · 1018 Bytes
/
stop_all_zuul.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
- hosts: 'zuul.openstack.org'
any_errors_fatal: true
tasks:
- name: Stop Zuul
service:
name: zuul
state: stopped
become: true
become_user: root
- name: Wait for (3h10m) to stop zuul
wait_for:
path: /var/run/zuul/zuul.pid
state: absent
timeout: 11400
- hosts: 'zlstatic0*.openstack.org:zl0*.openstack.org'
tasks:
- name: Hard stop zuul-launcher
shell: 'zuul-launcher stop'
become: true
become_user: zuul
- name: Wait for (3h10m) to stop zuul-launcher
wait_for:
path: /var/run/zuul-launcher/zuul-launcher.pid
state: absent
timeout: 11400
- hosts: 'zm0*.openstack.org'
tasks:
- name: Hard 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/zuul-merger.pid
state: absent
timeout: 11400