Add when condition to freezer role
freezer's deploy.yml do not have when condition,here to add it. Change-Id: Id275a5eb746783694248a6db5b7f3ee7b8b3b8c5
This commit is contained in:
parent
80b8d2da25
commit
f9209e1a70
@ -1,9 +1,13 @@
|
|||||||
---
|
---
|
||||||
- include: register.yml
|
- include: register.yml
|
||||||
|
when: inventory_hostname in groups['freezer-api']
|
||||||
|
|
||||||
- include: config.yml
|
- include: config.yml
|
||||||
|
when: inventory_hostname in groups['freezer-api'] or
|
||||||
|
inventory_hostname in groups['freezer-scheduler']
|
||||||
|
|
||||||
- include: bootstrap_service.yml
|
- include: bootstrap_service.yml
|
||||||
|
when: inventory_hostname in groups['freezer-api']
|
||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user