aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-04-02 17:18:44 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-04-10 03:40:30 +0000
commitd9e49b8515161b06a49f0c4fb08a20bee81a34f4 (patch)
tree2b3d9663d170e0bc985b926ce667c88c144eaba5 /deploy/adapters/ansible
parenteb0d83e42769247f6caa8292d1d58f350b39e15f (diff)
Fix pip version to 9.0.1
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: Ie193389c2b4995cdc4b81876f8cdcfc512cf5ea1 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit 18cf3eec4990e2e747cadc8b9c177e5b1d0c67f4)
Diffstat (limited to 'deploy/adapters/ansible')
-rw-r--r--deploy/adapters/ansible/roles/config-osa/tasks/fix_pip_version.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/fix_pip_version.yml b/deploy/adapters/ansible/roles/config-osa/tasks/fix_pip_version.yml
index 8ec28531..6ec8425b 100644
--- a/deploy/adapters/ansible/roles/config-osa/tasks/fix_pip_version.yml
+++ b/deploy/adapters/ansible/roles/config-osa/tasks/fix_pip_version.yml
@@ -23,3 +23,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