Use service-images-pull role for letsencrypt and venus
This reduces code duplication. Change-Id: Ie529875aaa42435835417468868250bbe4fcf649
This commit is contained in:
parent
16928ceddf
commit
498d324357
@ -1,11 +1,3 @@
|
|||||||
---
|
---
|
||||||
- name: Pulling LetsEncrypt images
|
- import_role:
|
||||||
become: true
|
role: service-images-pull
|
||||||
kolla_container:
|
|
||||||
action: "pull_image"
|
|
||||||
common_options: "{{ docker_common_options }}"
|
|
||||||
image: "{{ item.value.image }}"
|
|
||||||
when:
|
|
||||||
- inventory_hostname in groups[item.value.group]
|
|
||||||
- item.value.enabled | bool
|
|
||||||
with_dict: "{{ letsencrypt_services }}"
|
|
||||||
|
@ -1,11 +1,3 @@
|
|||||||
---
|
---
|
||||||
- name: Pulling venus images
|
- import_role:
|
||||||
become: true
|
role: service-images-pull
|
||||||
kolla_container:
|
|
||||||
action: "pull_image"
|
|
||||||
common_options: "{{ docker_common_options }}"
|
|
||||||
image: "{{ item.value.image }}"
|
|
||||||
when:
|
|
||||||
- inventory_hostname in groups[item.value.group]
|
|
||||||
- item.value.enabled | bool
|
|
||||||
with_dict: "{{ venus_services }}"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user