From d6b4c25d20eb956a40bc50e757d7db1c37e4c42d Mon Sep 17 00:00:00 2001 From: zhubingbing Date: Mon, 6 Feb 2017 05:18:52 +0000 Subject: [PATCH] Change freezer exact syntax problem Closes-Bug: #1662068 Change-Id: I57d4df3ccb70471d8509fcffb351bd254fec567b --- ansible/roles/freezer/tasks/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/freezer/tasks/config.yml b/ansible/roles/freezer/tasks/config.yml index b9190d6dda..1f3032c080 100644 --- a/ansible/roles/freezer/tasks/config.yml +++ b/ansible/roles/freezer/tasks/config.yml @@ -28,7 +28,7 @@ register: wsgi_freezer_api when: - inventory_hostname in groups[item.value.group] - - service.enabled | bool + - item.value.enabled | bool with_dict: "{{ freezer_services }}" notify: - Restart freezer-api container