Skip to content
Snippets Groups Projects
Commit 853f0373 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Allow mistral role to pull images"

parents d33931ca 0995a401
No related branches found
No related tags found
No related merge requests found
---
- include: register.yml
when: inventory_hostname in groups['mistral-api']
- include: config.yml
when: inventory_hostname in groups['mistral-api'] or
inventory_hostname in groups['mistral-engine'] or
inventory_hostname in groups['mistral-executor']
- include: bootstrap.yml
when: inventory_hostname in groups['mistral-api']
- include: start.yml
when: inventory_hostname in groups['mistral-api'] or
inventory_hostname in groups['mistral-engine'] or
inventory_hostname in groups['mistral-executor']
---
- include: register.yml
when: inventory_hostname in groups['mistral-api']
- include: "{{ action }}.yml"
when: not common_run
- include: config.yml
when: inventory_hostname in groups['mistral-api'] or
inventory_hostname in groups['mistral-engine'] or
inventory_hostname in groups['mistral-executor']
- include: bootstrap.yml
when: inventory_hostname in groups['mistral-api']
- include: start.yml
when: inventory_hostname in groups['mistral-api'] or
inventory_hostname in groups['mistral-engine'] or
inventory_hostname in groups['mistral-executor']
- name: Registering common role has run
set_fact:
common_run: True
when: not common_run
---
- name: Pulling mistral-api image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ mistral_api_image_full }}"
when: inventory_hostname in groups['mistral-api']
- name: Pulling mistral-engine image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ mistral_engine_image_full }}"
when: inventory_hostname in groups['mistral-engine']
- name: Pulling mistral-executor image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ mistral_executorngine_image_full }}"
when: inventory_hostname in groups['mistral-executor']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment