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

Update gitea role and improve docs

This commit is contained in:
L3D 2023-04-15 23:52:33 +02:00
parent ac387eba05
commit bbc0c29c22
No known key found for this signature in database
GPG key ID: AD65B920933B4B20
3 changed files with 20 additions and 6 deletions

View file

@ -1,11 +1,15 @@
[![collection l3d.git](https://ansible.l3d.space/svg/l3d.git_ansible-collection_collection.svg)](https://galaxy.ansible.com/l3d/git)
[![Maintainance](https://ansible.l3d.space/svg/l3d.git_maintainance_collection.svg)](https://ansible.l3d.space/#l3d.git)
[![License](https://ansible.l3d.space/svg/l3d.git_license_collection.svg)](LICENSE)
Ansible Collection - l3d.git
============================
This is the Ansible Collection l3d.git.
This is the Ansible Collection ``l3d.git``.
Here are all our ansible roles for installing git server.
## Roles in l3d.git
- [l3d.git.gitea](https://github.com/roles-ansible/ansible_role_gitea.git) - Ansible role to install gitea or forgejo git server
## Ansible Roles in l3d.git
- [![l3d.git.gitea](https://ansible.l3d.space/svg/l3d.git.gitea_ansible-role.svg)](https://github.com/roles-ansible/ansible_role_gitea.git) - Ansible role to install gitea or forgejo git server
## Using this Collection
You can install the collection using ansible-galaxy by running:
@ -13,7 +17,17 @@ You can install the collection using ansible-galaxy by running:
ansible-galaxy collection install l3d.git
```
Or you could clone this collection in your local ansible project as ``collections/ansible_collections/l3d/git/``.
Or you could clone this collection in your local ansible project for example to ``collections/ansible_collections/l3d/git/``. Make sure you checkout [git submodules](https://git-scm.com/docs/git-submodule) too. Example:
```
# Clone git Repo with submodules to specified path
git clone --recursive https://github.com/roles-ansible/ansible_collection_git.git collections/ansible_collections/l3d/git/
# change directory
cd collections/ansible_collections/l3d/git/
# optionally init git submodules
git submodule update --init --recursive
```
You can also list a collection in ``requirements.yml``:
```yaml

View file

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

@ -1 +1 @@
Subproject commit 0daa72de78b4fa96e1c1cfcd0a70bff826ec61e7
Subproject commit bcd4987a516c77cc9e919a6a6a9bf7ff3f9fa1aa