1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_git.git synced 2024-09-14 20:12:03 +02:00

Merge pull request #19 from roles-ansible/r

Improve docs of requirement installation
This commit is contained in:
L3D 2023-11-28 01:30:02 +01:00 committed by GitHub
commit f9f568e4cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -14,7 +14,7 @@ Here are all our ansible roles for installing git server.
## Using this Collection
You can install the collection using ansible-galaxy by running:
```bash
ansible-galaxy collection install l3d.git:1.0.12
ansible-galaxy collection install l3d.git:1.0.13
```
Remember you can to Upgrade to the latest version of the l3d.git collection using the ``--upgrade`` parameter:
@ -35,7 +35,7 @@ cd collections/ansible_collections/l3d/git/
git submodule update --init --recursive
# optionally install all requirements
ansible-galaxy install -r requirements.yml
ansible-galaxy collection install -r requirements.yml --upgrade
```
You can also list a collection in ``requirements.yml``:
@ -43,7 +43,7 @@ You can also list a collection in ``requirements.yml``:
---
collections:
- name: l3d.git
version: ">=1.0.12"
version: ">=1.0.13"
```
## Include roles in your playbook
@ -71,7 +71,7 @@ The roles in this collection using the ``ansible.builtin`` and ``community.gener
### Example Requirements Installation:
```bash
# galaxy requirements
ansible-galaxy install -r requirements.yml --upgrade
ansible-galaxy collection install -r requirements.yml --upgrade
# pip requirements
pip install -r requirements.txt

View file

@ -9,7 +9,7 @@ namespace: l3d
name: git
# The version of the collection. Must be compatible with semantic versioning
version: 1.0.12
version: 1.0.13
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md

View file

@ -1,4 +1,4 @@
---
collections:
- name: community.general
version: ">=7.5.0"
version: ">=8.0.2"