aboutsummaryrefslogtreecommitdiffstats
path: root/docs/release/userguide
diff options
context:
space:
mode:
authorRadoslaw Jablonski <radoslawx.jablonski@intel.com>2018-12-05 13:15:01 +0000
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>2018-12-10 12:59:26 +0000
commit9cfcf97b8f2d47e359261e432a747c4ea59f25fa (patch)
tree30d82c4dfc68454325105fc3f251853edc39d535 /docs/release/userguide
parentd6abf61815b5a98ea982f882c1a0f06ca56c5f25 (diff)
docker.userguide: Fix instruction for installing ansible
Previous version of instruction for installing ansible under pip was problematic when called as a regular user because pip was trying to use wrong(local home) directory for caching. It may cause problems when home directory is located on NFS. Change-Id: Ia9eb15d1be0db0cb5aa5f3fd04a7a166ff1046b2 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
Diffstat (limited to 'docs/release/userguide')
-rw-r--r--docs/release/userguide/docker.userguide.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/release/userguide/docker.userguide.rst b/docs/release/userguide/docker.userguide.rst
index 2b559f8f..3ee16e38 100644
--- a/docs/release/userguide/docker.userguide.rst
+++ b/docs/release/userguide/docker.userguide.rst
@@ -170,7 +170,7 @@ To install Ansible 2.6.3 on Ubuntu:
$ sudo apt-get install python
$ sudo apt-get install python-pip
- $ sudo pip install 'ansible==2.6.3'
+ $ sudo -H pip install 'ansible==2.6.3'
The following steps have been verified with Ansible 2.6.3 on Centos 7.5.
To install Ansible 2.6.3 on Centos:
@@ -180,7 +180,7 @@ To install Ansible 2.6.3 on Centos:
$ sudo yum install python
$ sudo yum install epel-release
$ sudo yum install python-pip
- $ sudo pip install 'ansible==2.6.3'
+ $ sudo -H pip install 'ansible==2.6.3'
Clone barometer repo
^^^^^^^^^^^^^^^^^^^^