Make pip installs work as intended

The --force-reinstall option requires --upgrade.

Change-Id: I2659e79cb46138d9d91b43b9e5134a9d7ee34b84
This commit is contained in:
stephane 2015-09-25 12:41:30 -07:00
parent e51de22084
commit b703fedc04
2 changed files with 3 additions and 3 deletions

View File

@ -14,4 +14,4 @@
# limitations under the License.
---
- name: "DIB - Install patched library."
command: pip install --force-reinstall "{{ dib_git_folder }}"
command: pip install --upgrade --force-reinstall "{{ dib_git_folder }}"

View File

@ -49,7 +49,7 @@
- name: "Ensure /opt/stack is present"
file: name=/opt/stack state=directory owner=root group=root
- name: "Ironic Client - Install from source if configured to do so."
command: pip install --force-reinstall {{ ironicclient_git_folder }}
command: pip install --upgrade --force-reinstall {{ ironicclient_git_folder }}
when: skip_install is not defined and ((ironicclient_source_install is defined and ironicclient_source_install == true) or ci_testing == true)
- name: "Ironic Client - Install from pip"
pip: name=python-ironicclient state=present
@ -61,7 +61,7 @@
pip: name=UcsSdk version=0.8.1.9
when: skip_install is not defined and testing | bool != true
- name: "Shade - Install from source if configured to do so"
command: pip install --force-reinstall {{ shade_git_folder }}
command: pip install --upgrade --force-reinstall {{ shade_git_folder }}
when: skip_install is not defined and ((shade_source_install is defined and shade_source_install == true) or ci_testing == true)
- name: "Shade - Installing patched shade library."
pip: name=shade state=latest