diff --git a/docs/docsite/rst/shared_snippets/installing_collections_file.rst b/docs/docsite/rst/shared_snippets/installing_collections_file.rst index 7c4fbcd9cb4..4cfa5fff4d6 100644 --- a/docs/docsite/rst/shared_snippets/installing_collections_file.rst +++ b/docs/docsite/rst/shared_snippets/installing_collections_file.rst @@ -4,11 +4,11 @@ Ansible can also install from a source directory in several ways: collections: # directory containing the collection - - source: ./my_namespace/my_collection/ + - name: ./my_namespace/my_collection/ type: dir # directory containing a namespace, with collections as subdirectories - - source: ./my_namespace/ + - name: ./my_namespace/ type: subdirs Ansible can also install a collection collected with ``ansible-galaxy collection build`` or downloaded from Galaxy for offline use by specifying the output file directly: