0f2b104213
This change bumps up the maximum supported Ansible version to 4.x (ansible-core 2.11.x) and minimum to 2.10. This synchronises Kayobe with Kolla Ansible (see change I8b9212934dfab3831986e8db55671baee32f4bbd). Uses of docker_image are updated. We must now provide the source parameter. When source is build (for molecule), we replace force by force_source and force_tag and move path and dockerfile under the build parameter. Use docker_image_info instead of docker_image_facts. Handle update of ansible inside kolla-ansible virtualenv and document how to do it for the kayobe virtualenv. Change-Id: I7a4530f4f63ddb37aa30a617db5944b97bc3e17f
12 lines
274 B
YAML
12 lines
274 B
YAML
---
|
|
- name: Pulling OpenSM container image
|
|
docker_image:
|
|
name: "{{ item.value.image }}"
|
|
repository: "{{ item.value.image }}"
|
|
source: pull
|
|
state: present
|
|
with_dict: "{{ opensm_services }}"
|
|
when:
|
|
- item.value.enabled
|
|
- opensm_action != 'destroy'
|