From c151f7d230809bbeda4b69579c42e7fd50952d9a Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 16 Apr 2023 00:30:25 +0200 Subject: [PATCH] Update community.general as requirement --- README.md | 4 ++++ galaxy.yml | 3 ++- requirements.yml | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 requirements.yml diff --git a/README.md b/README.md index c6a8807..a879864 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,9 @@ cd collections/ansible_collections/l3d/git/ # optionally init git submodules git submodule update --init --recursive + +# optionally install all requirements +ansible-galaxy install -r 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: - name: l3d.git + version: ">=1.0.1" ``` ## Include roles in your playbook diff --git a/galaxy.yml b/galaxy.yml index 360d094..4468cc7 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -47,7 +47,8 @@ tags: # collection label 'namespace.name'. The value is a version range # L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version # range specifiers can be set and are separated by ',' -dependencies: {} +dependencies: + "community.general": ">=6.5.0" # The URL of the originating SCM repository repository: https://github.com/roles-ansible/ansible_collection_git.git diff --git a/requirements.yml b/requirements.yml new file mode 100644 index 0000000..704d4eb --- /dev/null +++ b/requirements.yml @@ -0,0 +1,4 @@ +--- +collections: + - name: community.general + version: ">=6.5.0"