diff --git a/README.md b/README.md index 5c47743..c6a8807 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/galaxy.yml b/galaxy.yml index 3de010f..360d094 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -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 diff --git a/roles/gitea b/roles/gitea index 0daa72d..bcd4987 160000 --- a/roles/gitea +++ b/roles/gitea @@ -1 +1 @@ -Subproject commit 0daa72de78b4fa96e1c1cfcd0a70bff826ec61e7 +Subproject commit bcd4987a516c77cc9e919a6a6a9bf7ff3f9fa1aa