mirror of
https://github.com/roles-ansible/ansible_collection_git.git
synced 2024-09-14 20:12:03 +02:00
Update community.general as requirement
This commit is contained in:
parent
cef0ee6daf
commit
c151f7d230
3 changed files with 10 additions and 1 deletions
|
@ -27,6 +27,9 @@ cd collections/ansible_collections/l3d/git/
|
||||||
|
|
||||||
# optionally init git submodules
|
# optionally init git submodules
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
|
# optionally install all requirements
|
||||||
|
ansible-galaxy install -r requirements.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also list a collection in ``requirements.yml``:
|
You can also list a collection in ``requirements.yml``:
|
||||||
|
@ -34,6 +37,7 @@ You can also list a collection in ``requirements.yml``:
|
||||||
---
|
---
|
||||||
collections:
|
collections:
|
||||||
- name: l3d.git
|
- name: l3d.git
|
||||||
|
version: ">=1.0.1"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Include roles in your playbook
|
## Include roles in your playbook
|
||||||
|
|
|
@ -47,7 +47,8 @@ tags:
|
||||||
# collection label 'namespace.name'. The value is a version range
|
# collection label 'namespace.name'. The value is a version range
|
||||||
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
|
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
|
||||||
# range specifiers can be set and are separated by ','
|
# range specifiers can be set and are separated by ','
|
||||||
dependencies: {}
|
dependencies:
|
||||||
|
"community.general": ">=6.5.0"
|
||||||
|
|
||||||
# The URL of the originating SCM repository
|
# The URL of the originating SCM repository
|
||||||
repository: https://github.com/roles-ansible/ansible_collection_git.git
|
repository: https://github.com/roles-ansible/ansible_collection_git.git
|
||||||
|
|
4
requirements.yml
Normal file
4
requirements.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
collections:
|
||||||
|
- name: community.general
|
||||||
|
version: ">=6.5.0"
|
Loading…
Reference in a new issue