From f1180f3d3f73412ddd09f15a4631bea48571335b Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 3 Sep 2019 15:50:58 -0500 Subject: [PATCH] Fix documentation to reflect CLI usage for collections-path (#60164) --- docs/docsite/rst/dev_guide/collections_tech_preview.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docsite/rst/dev_guide/collections_tech_preview.rst b/docs/docsite/rst/dev_guide/collections_tech_preview.rst index 44b57df36996c7..0a317ca380755b 100644 --- a/docs/docsite/rst/dev_guide/collections_tech_preview.rst +++ b/docs/docsite/rst/dev_guide/collections_tech_preview.rst @@ -322,20 +322,20 @@ See the `content_collector README Installing collections ====================== -You can use the ``ansible-galaxy collection install`` command to install a collection on your system. The collection by default is installed at ``/path/ansible_collections/my_namespace/my_collection``. You can optionally add the ``-p`` option to specify an alternate location. +You can use the ``ansible-galaxy collection install`` command to install a collection on your system. You must specify an installation location using the ``-p`` option. To install a collection hosted in Galaxy: .. code-block:: bash - ansible-galaxy collection install my_namespace.my_collection -p /path + ansible-galaxy collection install my_namespace.my_collection -p /collections You can also directly use the tarball from your build: .. code-block:: bash - ansible-galaxy collection install my_namespace-my_collection-1.0.0.tar.gz -p ./collections/ansible_collections + ansible-galaxy collection install my_namespace-my_collection-1.0.0.tar.gz -p ./collections .. note:: The install command automatically appends the path ``ansible_collections`` to the one specified with the ``-p`` option unless the