b83bb6ed09
Kolla-ansible requires use of the docker python package, which is incompatible with the legacy docker-py python package. We install the former and remove the latter.
19 lines
547 B
YAML
19 lines
547 B
YAML
---
|
|
- name: Ensure docker SDK for python is installed
|
|
hosts: overcloud
|
|
tasks:
|
|
# Docker renamed their python SDK from docker-py to docker in the 2.0.0
|
|
# release, and also broke backwards compatibility. Kolla-ansible requires
|
|
# docker, so ensure it is installed.
|
|
- name: Ensure legacy docker-py python package is uninstalled
|
|
pip:
|
|
name: docker-py
|
|
state: absent
|
|
become: True
|
|
|
|
- name: Ensure docker SDK for python is installed
|
|
pip:
|
|
name: docker
|
|
state: latest
|
|
become: True
|