summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/common
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2016-11-18 02:56:28 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2016-11-25 02:24:35 +0800
commit97feef8d0a2b10924764b0cb1a31057b69a46103 (patch)
treef796b408508ec0fc2002e2e8a9c416324c52b455 /deploy/adapters/ansible/roles/common
parentb15421ac53b8f57011613e29505cd8c0275b5066 (diff)
update pip and split pip source
JIRA: COMPASS-506 update pip to 9.0.1 in ansible common adjust pip download source to http://10.1.0.12/pip-openstack Change-Id: I043d199faf57342f89e46bc9d90229ed40c510f0 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/common')
-rw-r--r--deploy/adapters/ansible/roles/common/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/common/tasks/main.yml b/deploy/adapters/ansible/roles/common/tasks/main.yml
index f004e98d..8da5603c 100644
--- a/deploy/adapters/ansible/roles/common/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/common/tasks/main.yml
@@ -46,6 +46,9 @@
- name: make config template dir exist
file: path=/opt/os_templates state=directory mode=0755
+- name: upgrade pip
+ pip: name=pip state=latest
+
- name: create pip config directory
file: path=~/.pip state=directory