aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-04-09 11:10:19 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-04-09 11:13:04 +0800
commit10c1877374ac8eb2cfbbdf34daeb0049ea4dd67e (patch)
tree525093ba036f032495717611b2c70ec015a794b0
parentf56da9b36698855ad41c95a33612476be0d3cfcc (diff)
Fix pip version to 9.0.1stable/euphrates
JIRA: COMPASS-593 OpenStack Ansible install latest pip on each contoller node and the latest pip (currently 10.0.0b1) doesn't support empty package list to be passed into it. Add a user config file to fix pip version Change-Id: Ic625053ec41356fdf3a8bf89a666ca6574d78fd9 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
-rwxr-xr-xdeploy/adapters/ansible/roles/config-osa/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
index 1a75dd7..383d810 100755
--- a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml
@@ -292,3 +292,10 @@
dest: /etc/ansible/roles/repo_build/defaults/main.yml
insertafter: "repo_pip_packages:"
line: ' - pbr'
+
+- name: create user config file to control pip version
+ copy:
+ content: |
+ pip_packages:
+ - pip==9.0.1
+ dest: /etc/openstack_deploy/user_fixpip.yml