Change freezer exact syntax problem

Closes-Bug: #1662068

Change-Id: I57d4df3ccb70471d8509fcffb351bd254fec567b
This commit is contained in:
zhubingbing 2017-02-06 05:18:52 +00:00
parent d7bc9a01ad
commit d6b4c25d20

View File

@ -28,7 +28,7 @@
register: wsgi_freezer_api register: wsgi_freezer_api
when: when:
- inventory_hostname in groups[item.value.group] - inventory_hostname in groups[item.value.group]
- service.enabled | bool - item.value.enabled | bool
with_dict: "{{ freezer_services }}" with_dict: "{{ freezer_services }}"
notify: notify:
- Restart freezer-api container - Restart freezer-api container