Don't start / stop disabled hosts
If a host is added to the disabled group, we shouldn't be running commands on that host. Change-Id: I4fa62fb6668162d2c824b85c061a2e43915c1162 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
4a6b4869c3
commit
e308d6f700
@ -12,7 +12,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
---
|
||||
- hosts: zuul-scheduler
|
||||
- hosts: zuul-scheduler:!disabled
|
||||
tasks:
|
||||
- name: starting zuul-scheduler
|
||||
become: true
|
||||
@ -20,7 +20,7 @@
|
||||
name: zuul-scheduler
|
||||
state: started
|
||||
|
||||
- hosts: zuul-merger
|
||||
- hosts: zuul-merger:!disabled
|
||||
tasks:
|
||||
- name: starting zuul-merger
|
||||
become: true
|
||||
@ -28,7 +28,7 @@
|
||||
name: zuul-merger
|
||||
state: started
|
||||
|
||||
- hosts: zuul-executor
|
||||
- hosts: zuul-executor:!disabled
|
||||
tasks:
|
||||
- name: starting zuul-executor
|
||||
become: true
|
||||
@ -36,7 +36,7 @@
|
||||
name: zuul-executor
|
||||
state: started
|
||||
|
||||
- hosts: zuul-fingergw
|
||||
- hosts: zuul-fingergw:!disabled
|
||||
tasks:
|
||||
- name: starting zuul-fingergw
|
||||
become: true
|
||||
@ -44,7 +44,7 @@
|
||||
name: zuul-fingergw
|
||||
state: started
|
||||
|
||||
- hosts: zuul-web
|
||||
- hosts: zuul-web:!disabled
|
||||
tasks:
|
||||
- name: starting zuul-web
|
||||
become: true
|
||||
|
@ -12,7 +12,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
---
|
||||
- hosts: zuul-executor
|
||||
- hosts: zuul-executor:!disabled
|
||||
tasks:
|
||||
- name: stopping zuul-executor
|
||||
become: true
|
||||
@ -27,7 +27,7 @@
|
||||
state: absent
|
||||
timeout: 11400
|
||||
|
||||
- hosts: zuul-merger
|
||||
- hosts: zuul-merger:!disabled
|
||||
tasks:
|
||||
- name: stopping zuul-merger
|
||||
become: true
|
||||
@ -42,7 +42,7 @@
|
||||
state: absent
|
||||
timeout: 11400
|
||||
|
||||
- hosts: zuul-web
|
||||
- hosts: zuul-web:!disabled
|
||||
tasks:
|
||||
- name: stopping zuul-web
|
||||
become: true
|
||||
@ -57,7 +57,7 @@
|
||||
state: absent
|
||||
timeout: 11400
|
||||
|
||||
- hosts: zuul-fingergw
|
||||
- hosts: zuul-fingergw:!disabled
|
||||
tasks:
|
||||
- name: stopping zuul-fingergw
|
||||
become: true
|
||||
@ -72,7 +72,7 @@
|
||||
state: absent
|
||||
timeout: 11400
|
||||
|
||||
- hosts: zuul-scheduler
|
||||
- hosts: zuul-scheduler:!disabled
|
||||
tasks:
|
||||
- name: stopping zuul-scheduler
|
||||
become: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user