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:
wu.chunyang 2018-07-25 07:34:09 +00:00
parent 80b8d2da25
commit f9209e1a70

View File

@ -1,9 +1,13 @@
---
- include: register.yml
when: inventory_hostname in groups['freezer-api']
- include: config.yml
when: inventory_hostname in groups['freezer-api'] or
inventory_hostname in groups['freezer-scheduler']
- include: bootstrap_service.yml
when: inventory_hostname in groups['freezer-api']
- name: Flush handlers
meta: flush_handlers