User correct prefix for docker upper constraints variable

This commit is contained in:
Doug Szumski 2018-02-22 14:05:23 +00:00
parent 9b2c38712d
commit 6ad2a698c4
3 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,8 @@
hosts: docker
tags:
- docker
vars:
- docker_upper_constraints_file: "{{ kolla_upper_constraints_file }}"
roles:
- role: docker
docker_daemon_mtu: "{{ public_net_name | net_mtu | default }}"

View File

@ -33,3 +33,7 @@ docker_registry_ca:
# MTU to pass through to containers not using net=host
docker_daemon_mtu: 1500
# Upper constraints file which is passed to pip when installing packages
# into a venv.
docker_upper_constraints_file:

View File

@ -18,7 +18,7 @@
pip:
name: docker
state: latest
extra_args: "-c {{ kolla_upper_constraints_file }}"
extra_args: "-c {{ docker_upper_constraints_file }}"
virtualenv: "{{ virtualenv is defined | ternary(virtualenv, omit) }}"
become: "{{ virtualenv is not defined }}"