Ensure kolla virtualenv contains docker package rather than docker-py
This allows the virtualenv to be reused following an upgrade.
This commit is contained in:
parent
68e2e5e1b7
commit
00d3a47746
@ -46,7 +46,7 @@
|
||||
pip:
|
||||
name: "{{ item.name }}"
|
||||
version: "{{ item.version | default(omit) }}"
|
||||
state: present
|
||||
state: "{{ item.state | default('present') }}"
|
||||
virtualenv: "{{ kolla_venv }}"
|
||||
with_items:
|
||||
# Intall Kolla from source.
|
||||
@ -59,4 +59,9 @@
|
||||
# Required for kolla-genpwd.
|
||||
- name: PyYAML
|
||||
version: "3.12"
|
||||
# In version 2.0.0, docker renamed the docker-py python package to docker.
|
||||
# Kolla requires the docker package rather than the docker-py package.
|
||||
- name: docker-py
|
||||
state: absent
|
||||
- name: docker
|
||||
when: "{{ item.install | default(True) | bool }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user