summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadoslaw Jablonski <radoslawx.jablonski@intel.com>2018-12-07 10:48:29 +0000
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>2018-12-07 11:00:49 +0000
commit60e82a4eb7acfae039daadc15eafa72e0f78e7e0 (patch)
tree9147080ef7302b7b046bd73b291ed5b4fd707bf7
parentd6abf61815b5a98ea982f882c1a0f06ca56c5f25 (diff)
docker.userguide: Fix ansible-playbook instruction for non-root user
Now using 'sudo -H' instead raw sudo - without that option ansible on some systems(e.g. Ubuntu 16.04) will try to use regular user home directory for caching (it may be not accessible when home is mounted using Network File System) Change-Id: I9d7e14613d7e27f86c43926c05b368972527e072 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
-rw-r--r--docs/release/userguide/docker.userguide.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/release/userguide/docker.userguide.rst b/docs/release/userguide/docker.userguide.rst
index 2b559f8f..ed25d684 100644
--- a/docs/release/userguide/docker.userguide.rst
+++ b/docs/release/userguide/docker.userguide.rst
@@ -282,7 +282,7 @@ through more details.
.. code:: bash
- $ sudo ansible-playbook -i default.inv collectd_service.yml
+ $ sudo -H ansible-playbook -i default.inv collectd_service.yml
Check the three containers are running, the output of docker ps should be similar to: