--- - name: Pulling collectd image kolla_docker: action: "pull_image" common_options: "{{ docker_common_options }}" image: "{{ item.value.image }}" when: - inventory_hostname in groups[item.value.group] - item.value.enabled | bool with_dict: "{{ collectd_services }}"