Allow horizon role to pull images
Change-Id: Iea91c39733d56a9291287a78a44756d8d38ca71d Partially-Implements: blueprint pre-pull-images
This commit is contained in:
parent
260187c6fa
commit
715942ce30
4
ansible/roles/horizon/tasks/deploy.yml
Normal file
4
ansible/roles/horizon/tasks/deploy.yml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
- include: config.yml
|
||||
|
||||
- include: start.yml
|
@ -1,4 +1,2 @@
|
||||
---
|
||||
- include: config.yml
|
||||
|
||||
- include: start.yml
|
||||
- include: "{{ action }}.yml"
|
||||
|
7
ansible/roles/horizon/tasks/pull.yml
Normal file
7
ansible/roles/horizon/tasks/pull.yml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Pulling horizon image
|
||||
kolla_docker:
|
||||
action: "pull_image"
|
||||
common_options: "{{ docker_common_options }}"
|
||||
image: "{{ horizon_image_full }}"
|
||||
when: inventory_hostname in groups['horizon']
|
Loading…
Reference in New Issue
Block a user