e0a00b4649
Organize these like our zuul rules. Change-Id: Idf6148424c08efee9ad421b01d28d938c7058722
31 lines
681 B
YAML
31 lines
681 B
YAML
# Run this with "-f 20"
|
|
|
|
|
|
- hosts: 'nodepool-builder_opendev:!disabled'
|
|
any_errors_fatal: true
|
|
tasks:
|
|
- include_role:
|
|
name: nodepool-builder
|
|
tasks_from: stop
|
|
|
|
- hosts: 'nodepool-launcher:!disabled'
|
|
any_errors_fatal: true
|
|
tasks:
|
|
- include_role:
|
|
name: nodepool-launcher
|
|
tasks_from: stop
|
|
|
|
- hosts: 'nb03.openstack.orgr:!disabled'
|
|
any_errors_fatal: true
|
|
tasks:
|
|
- name: Stop Nodepool Builder
|
|
service:
|
|
name: nodepool-builder
|
|
state: stopped
|
|
|
|
- name: Wait for (3h10m) to stop Nodepool Builder
|
|
wait_for:
|
|
path: /var/run/nodepool/nodepool-builder.pid
|
|
state: absent
|
|
timeout: 11400
|