--- - name: Pulling cAdvisor container image docker_image: name: "{{ item.value.image }}" repository: "{{ item.value.image }}" state: present with_dict: "{{ cadvisor_services }}" when: - item.value.enabled - action != 'destroy'