kolla-ansible/ansible/roles/karbor/tasks/pull.yml
caowei 4c2da9e6d1 Add karbor ansible role
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Co-Authored-By: zhangshuai <446077695@qq.com>
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>

Change-Id: I7aebe544e3495767d6389dbf220d633a98c137da
Partially-implements: bp karbor-ansible-role
2016-12-21 01:53:20 +08:00

22 lines
711 B
YAML

---
- name: Pulling karbor-api image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ karbor_api_image_full }}"
when: inventory_hostname in groups['karbor-api']
- name: Pulling karbor-protection image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ karbor_protection_image_full }}"
when: inventory_hostname in groups['karbor-protection']
- name: Pulling karbor-operationengine image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ karbor_operationengine_image_full }}"
when: inventory_hostname in groups['karbor-operationengine']