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