Use service-images-pull role for letsencrypt and venus

This reduces code duplication.

Change-Id: Ie529875aaa42435835417468868250bbe4fcf649
This commit is contained in:
Mark Goddard 2024-01-03 16:51:25 +00:00
parent 16928ceddf
commit 498d324357
2 changed files with 4 additions and 20 deletions

View File

@ -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 }}"

View File

@ -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 }}"