--- - name: Pulling keepalived image kolla_docker: action: "pull_image" common_options: "{{ docker_common_options }}" image: "{{ keepalived_image_full }}" when: inventory_hostname in groups['haproxy'] - name: Pulling haproxy image kolla_docker: action: "pull_image" common_options: "{{ docker_common_options }}" image: "{{ haproxy_image_full }}" when: inventory_hostname in groups['haproxy']