kolla-ansible/ansible/roles/freezer/tasks/pull.yml
caoyuan b81442a082 Add freezer-scheduler role
Change-Id: I469800239bfc7f3bb5acc899edf7a971b792655c
Implements: blueprint kolla-freezer-scheduler-container
Co-Authored-By: wu.chunyang <wu.chunyang@99cloud.net>
2018-04-09 08:35:32 +00:00

11 lines
293 B
YAML

---
- name: Pulling freezer images
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: "{{ freezer_services }}"