From 18cf3eec4990e2e747cadc8b9c177e5b1d0c67f4 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Mon, 2 Apr 2018 17:18:44 +0800 Subject: 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 --- deploy/adapters/ansible/roles/config-osa/tasks/fix_pip_version.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'deploy/adapters/ansible/roles/config-osa') 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 -- cgit 1.2.3-korg