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
|
||||
become: true
|
||||
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 }}"
|
||||
- import_role:
|
||||
role: service-images-pull
|
||||
|
@ -1,11 +1,3 @@
|
||||
---
|
||||
- name: Pulling venus images
|
||||
become: true
|
||||
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 }}"
|
||||
- import_role:
|
||||
role: service-images-pull
|
||||
|
Loading…
Reference in New Issue
Block a user