kolla-ansible/ansible/roles/mongodb/tasks/pull.yml
Hui Kang 3ae0063944 Add an ansible role for mongodb
Change-Id: Ia6ac371845d1f2b545406d096b35a6d5f68be5f6
Implements: blueprint ansible-mongodb
2016-01-27 10:48:34 -05:00

8 lines
211 B
YAML

---
- name: Pulling mongodb image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ mongodb_image_full }}"
when: inventory_hostname in groups['mongodb']