blob: 4e9271de473684c7b2fcd3b2e6ec39e22405ab82 [file] [log] [blame]
Andy Bavier175cfaf2017-03-13 18:09:21 -04001---
2# pull-images/tasks/main.yml
3
4- name: Pull latest versions of images if not present
5 docker_image:
6 name: "{{ item.name }}"
7 repository: "{{ item.name }}:{{ build_docker_tag }}"
Andy Bavier396f7c02017-05-03 08:52:40 -07008 force: True
Andy Bavier175cfaf2017-03-13 18:09:21 -04009 with_items: "{{ docker_images | selectattr('pull') | list }}"