Code Review
/
releng-xci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
cd7f083
)
Fix ansible installation for non-root
author
Yolanda Robla
<yroblamo@redhat.com>
Thu, 1 Jun 2017 09:25:01 +0000
(11:25 +0200)
committer
Trevor Bramwell
<tbramwell@linuxfoundation.org>
Fri, 11 Aug 2017 19:56:12 +0000
(12:56 -0700)
Currently ansible was set to be installed with pip, but
this fails for non-root user. Instead of that, execute
pip with --user flag, so we don't need root permissions and it
is only installed for the current user.
Change-Id: Ib37a2a3866b4b48aca834b894cdd128ee63b31d6
xci/file/install-ansible.sh
patch
|
blob
|
history
diff --git
a/xci/file/install-ansible.sh
b/xci/file/install-ansible.sh
index
daa7f51
..
67a49b3
100644
(file)
--- a/
xci/file/install-ansible.sh
+++ b/
xci/file/install-ansible.sh
@@
-131,6
+131,6
@@
fi
PIP=$(which pip)
-
sudo -H -E ${PIP} install
"pip>6.0"
+
${PIP} install --user
"pip>6.0"
-
pip install
ansible==$XCI_ANSIBLE_PIP_VERSION
+
${PIP} install --user --upgrade
ansible==$XCI_ANSIBLE_PIP_VERSION