Merge "Use host groups for zuul playbooks"

This commit is contained in:
Zuul 2018-09-12 20:52:31 +00:00 committed by Gerrit Code Review
commit 69b6537c6e
4 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
- hosts: 'zuul01.openstack.org'
- hosts: 'zuul-scheduler:!disabled'
any_errors_fatal: true
tasks:
- name: Reconfigure the zuul scheduler

View File

@ -1,6 +1,6 @@
# Run this with "-f 20"
- hosts: 'zuul01.openstack.org'
- hosts: 'zuul-scheduler:!disabled'
any_errors_fatal: true
tasks:
- name: Stop Zuul Scheduler
@ -37,7 +37,7 @@
state: absent
timeout: 11400
- hosts: 'zm*.openstack.org'
- hosts: 'zuul-merger:!disabled'
tasks:
- name: Stop Zuul Mergers
service:
@ -46,7 +46,7 @@
become: true
become_user: root
- hosts: 'ze*.openstack.org'
- hosts: 'zuul-executor:!disabled'
tasks:
- name: Stop Zuul Executors
service:
@ -55,7 +55,7 @@
become: true
become_user: root
- hosts: 'zuul01.openstack.org'
- hosts: 'zuul-scheduler:!disabled'
tasks:
- name: Start Zuul Scheduler
service:
@ -76,7 +76,7 @@
become: true
become_user: root
- hosts: 'zm*.openstack.org'
- hosts: 'zuul-merger:!disabled'
tasks:
- name: Wait for (3h10m) to stop Zuul Mergers
wait_for:
@ -90,7 +90,7 @@
become: true
become_user: root
- hosts: 'ze*.openstack.org'
- hosts: 'zuul-executor:!disabled'
tasks:
- name: Wait for (3h10m) to stop Zuul Executors
wait_for:

View File

@ -1,6 +1,6 @@
# Run this with "-f 20"
- hosts: 'zuul01.openstack.org'
- hosts: 'zuul-scheduler:!disabled'
tasks:
- name: Start Zuul Scheduler
service:
@ -21,7 +21,7 @@
become: true
become_user: root
- hosts: 'zm*.openstack.org'
- hosts: 'zuul-merger:!disabled'
tasks:
- name: Start Zuul Mergers
service:
@ -30,7 +30,7 @@
become: true
become_user: root
- hosts: 'ze*.openstack.org'
- hosts: 'zuul-executor:!disabled'
tasks:
- name: Start Zuul Executors
service:

View File

@ -1,6 +1,6 @@
# Run this with "-f 20"
- hosts: 'zuul01.openstack.org'
- hosts: 'zuul-scheduler:!disabled'
any_errors_fatal: true
tasks:
- name: Stop Zuul Scheduler
@ -37,7 +37,7 @@
state: absent
timeout: 11400
- hosts: 'zm*.openstack.org'
- hosts: 'zuul-merger:!disabled'
tasks:
- name: Stop Zuul Merger
service:
@ -51,7 +51,7 @@
state: absent
timeout: 11400
- hosts: 'ze*.openstack.org'
- hosts: 'zuul-executor:!disabled'
tasks:
- name: Stop Zuul Executor
service: