Allow murano role to pull images

Change-Id: I0971ddcff7b688ae0dee7658ab4be7ca3fbbdc28
Partially-Implements: blueprint pre-pull-images
This commit is contained in:
SamYaple 2016-01-05 18:06:20 +00:00
parent b6ac0b2eef
commit e764e8522d
3 changed files with 29 additions and 13 deletions

View File

@ -0,0 +1,14 @@
---
- include: register.yml
when: inventory_hostname in groups['murano-api']
- include: config.yml
when: inventory_hostname in groups['murano-api'] or
inventory_hostname in groups['murano-engine']
- include: bootstrap.yml
when: inventory_hostname in groups['murano-api']
- include: start.yml
when: inventory_hostname in groups['murano-api'] or
inventory_hostname in groups['murano-engine']

View File

@ -1,14 +1,2 @@
--- ---
- include: register.yml - include: "{{ action }}.yml"
when: inventory_hostname in groups['murano-api']
- include: config.yml
when: inventory_hostname in groups['murano-api'] or
inventory_hostname in groups['murano-engine']
- include: bootstrap.yml
when: inventory_hostname in groups['murano-api']
- include: start.yml
when: inventory_hostname in groups['murano-api'] or
inventory_hostname in groups['murano-engine']

View File

@ -0,0 +1,14 @@
---
- name: Pulling murano-api image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ murano_api_image_full }}"
when: inventory_hostname in groups['murano-api']
- name: Pulling murano-engine image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ murano_engine_image_full }}"
when: inventory_hostname in groups['murano-engine']