Skip to content

Commit c38f225

Browse files
authored
Update scaffolded galaxy file: add ansible.utils dependency (#352)
1 parent f1ed814 commit c38f225

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/ansible_creator/resources/collection_project/galaxy.yml.j2

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ authors:
1212

1313
description: your collection description
1414
license_file: LICENSE
15+
1516
# TO-DO: update the tags based on your content type
1617
tags: ["linux", "tools"]
17-
dependencies: {}
18+
19+
# TO-DO: maintain this list to reflect the collection's dependencies
20+
dependencies:
21+
"ansible.utils": "*" # note: "*" selects the latest version available
1822

1923
repository: http://example.com/repository
2024
documentation: http://docs.example.com

tests/fixtures/collection/testorg/testcol/galaxy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ authors:
1212

1313
description: your collection description
1414
license_file: LICENSE
15+
1516
# TO-DO: update the tags based on your content type
1617
tags: ["linux", "tools"]
17-
dependencies: {}
18+
19+
# TO-DO: maintain this list to reflect the collection's dependencies
20+
dependencies:
21+
"ansible.utils": "*" # note: "*" selects the latest version available
1822

1923
repository: http://example.com/repository
2024
documentation: http://docs.example.com

0 commit comments

Comments
 (0)