602f89baa6
Since https://review.opendev.org/647699/, we lost the logic to only deploy glance-api on a single host when using the file backend. This code was always a bit custom, and would be better supported by using the 'host_in_groups' pattern we have in a few other places where a single group name does not describe the placement of containers for a service. Change-Id: I21ce4a3b0beee0009ac69fecd0ce24efebaf158d Closes-Bug: #1836151
12 lines
292 B
YAML
12 lines
292 B
YAML
---
|
|
- name: Pulling glance images
|
|
become: true
|
|
kolla_docker:
|
|
action: "pull_image"
|
|
common_options: "{{ docker_common_options }}"
|
|
image: "{{ item.value.image }}"
|
|
when:
|
|
- item.value.host_in_groups | bool
|
|
- item.value.enabled | bool
|
|
with_dict: "{{ glance_services }}"
|