diff --git a/tasks/glance_install.yml b/tasks/glance_install.yml index 0aa477aa..a118634c 100644 --- a/tasks/glance_install.yml +++ b/tasks/glance_install.yml @@ -39,6 +39,7 @@ name: "{{ glance_requires_pip_packages }}" state: "{{ glance_pip_package_state }}" extra_args: >- + {{ glance_developer_mode | ternary(pip_install_developer_constraints | default('--constraint /opt/developer-pip-constraints.txt'), '') }} {{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }} {{ pip_install_options | default('') }} register: install_packages @@ -90,7 +91,7 @@ virtualenv: "{{ glance_bin | dirname }}" virtualenv_site_packages: "no" extra_args: >- - {{ glance_developer_mode | ternary('--constraint /opt/developer-pip-constraints.txt', '') }} + {{ glance_developer_mode | ternary(pip_install_developer_constraints | default('--constraint /opt/developer-pip-constraints.txt'), '') }} {{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }} {{ pip_install_options | default('') }} register: install_packages