diff --git a/docs/docsite/rst/shared_snippets/installing_collections_file.rst b/docs/docsite/rst/shared_snippets/installing_collections_file.rst index 60eccab4312..7c4fbcd9cb4 100644 --- a/docs/docsite/rst/shared_snippets/installing_collections_file.rst +++ b/docs/docsite/rst/shared_snippets/installing_collections_file.rst @@ -16,9 +16,9 @@ Ansible can also install a collection collected with ``ansible-galaxy collection .. code-block:: yaml collections: - - source: /tmp/my_namespace-my_collection-1.0.0.tar.gz + - name: /tmp/my_namespace-my_collection-1.0.0.tar.gz type: file .. note:: - Relative paths are calculated from the current working directory (where you are invoking ``ansible-galaxy install -r`` from). They are not taken relative to the ``requirements.yml`` file. \ No newline at end of file + Relative paths are calculated from the current working directory (where you are invoking ``ansible-galaxy install -r`` from). They are not taken relative to the ``requirements.yml`` file.