You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docsite/rst/shared_snippets/installing_collections_file.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ Ansible can also install from a source directory in several ways:
4
4
5
5
collections:
6
6
# directory containing the collection
7
-
- source: ./my_namespace/my_collection/
7
+
- name: ./my_namespace/my_collection/
8
8
type: dir
9
9
10
10
# directory containing a namespace, with collections as subdirectories
11
-
- source: ./my_namespace/
11
+
- name: ./my_namespace/
12
12
type: subdirs
13
13
14
14
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:
0 commit comments