Allow pip extra arguments to be passed to playbooks
This patch adds the variable 'pip_install_options' which is passed to the pip
install module as extra arguments in order to allow the use of options like
'--force-reinstall' when executing playbooks.
This is required due to constant upstream changes in dependencies which
result in python wheel version upgrades and downgrades between tagged
versions of openstack-ansible.
The intention is that this can be used whenever a deployer switches between
tags for both upgrades and downgrades.
Reviewed: https:/ /review. openstack. org/229542 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=f5e3b1171f4 1ff10b60725c7c3 0d13a18f3156ca
Committed: https:/
Submitter: Jenkins
Branch: kilo
commit f5e3b1171f41ff1 0b60725c7c30d13 a18f3156ca
Author: Jesse Pretorius <email address hidden>
Date: Wed Sep 30 12:48:13 2015 +0100
Allow pip extra arguments to be passed to playbooks
This patch adds the variable 'pip_install_ options' which is passed to the pip force-reinstall ' when executing playbooks.
install module as extra arguments in order to allow the use of options like
'--
eg: openstack-ansible -e pip_install_ options= "--force- reinstall" \
setup- openstack. yml
This is required due to constant upstream changes in dependencies which
result in python wheel version upgrades and downgrades between tagged
versions of openstack-ansible.
The intention is that this can be used whenever a deployer switches between
tags for both upgrades and downgrades.
DocImpact af4f23798619bdb d0d490360c9 5d0ad3d72e20153 08c105ff0f)
Closes-Bug: #1489251
Closes-Bug: #1499451
Related-Bug: #1501114
Change-Id: I996185e009a4c4
(cherry picked from commit 2c19010ff9a936c