Andy Bavier | 175cfaf | 2017-03-13 18:09:21 -0400 | [diff] [blame] | 1 | --- |
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 Bavier | 396f7c0 | 2017-05-03 08:52:40 -0700 | [diff] [blame] | 8 | force: True |
Andy Bavier | 175cfaf | 2017-03-13 18:09:21 -0400 | [diff] [blame] | 9 | with_items: "{{ docker_images | selectattr('pull') | list }}" |