diff --git a/README.md b/README.md index a8f9f16..62b5067 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -[![Ansible Galaxy](https://raw.githubusercontent.com/roles-ansible/ansible_role_gitea/main/.github/galaxy.svg?sanitize=true)](https://galaxy.ansible.com/do1jlr/gitea) [![MIT License](https://raw.githubusercontent.com/roles-ansible/ansible_role_gitea/main/.github/license.svg?sanitize=true)](https://github.com/roles-ansible/ansible_role_gitea/blob/main/LICENSE) +[![Ansible Galaxy](https://ansible.l3d.space/svg/l3d.gitea.svg)](https://galaxy.ansible.com/l3d/gitea) +[![BSD-3 Clause](https://ansible.l3d.space/svg/l3d.gitea_license.svg)](LICENSE) +[![Maintainance](https://ansible.l3d.space/svg/l3d.gitea_maintainance.svg)(https://ansible.l3d.space/#l3d.gitea) ansible role gitea/forgejo ============================ @@ -12,12 +14,12 @@ This role installs and manages [gitea](https://gitea.io) or [forgejo](https://fo The following code has been tested with the latest Debian Stable, it should work on Ubuntu and RedHat as well. ```yaml -# ansible-galaxy install do1jlr.gitea +# ansible-galaxy install l3d.gitea - name: "Install gitea" hosts: git.example.com roles: - - {role: do1jlr.gitea, tags: gitea} + - {role: l3d.gitea, tags: gitea} vars: # Here we assume we are behind a reverse proxy that will # handle https for us, so we bind on localhost:3000 using HTTP @@ -349,6 +351,13 @@ To deploy multiple files we created the ``gitea_custom_search`` variable, that c - Create a directory with the files you want to deploy. - Point ``gitea_customize_files_path`` to this directory. *(Default ``{{ gitea_custom_search }}/gitea_files/``)* +## Requirements +This role uses only the ``ansible.builtin`` Modules and does not need any other collections to run. But to download the latest forgejo/gitea release, we use json_query. This requires jmespath to be available + +### Python Packages ++ json_query + + ## Contributing Don't hesitate to create a pull request, and when in doubt you can reach me on Mastodon [@l3d@chaos.social](https://chaos.social/@l3d). diff --git a/meta/main.yml b/meta/main.yml index 7c8944d..ad117d7 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,7 +1,7 @@ --- galaxy_info: role_name: gitea - author: do1jlr + author: l3d description: Ansible role to configure and deploy gitea and forgejo, a painless self-hosted Git service. license: "BSD-3-Clause" min_ansible_version: "2.11" @@ -28,4 +28,5 @@ galaxy_info: - selfhosted - gitserver - gogs + - linux dependencies: [] diff --git a/vars/main.yml b/vars/main.yml index 0c85289..a73b653 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -62,5 +62,5 @@ transfer_custom_footer: - 'files/gitea_footer/extra_links_footer.tmpl' - 'files/extra_links_footer.tmpl' -playbook_version_number: 42 # should be int +playbook_version_number: 44 # should be int playbook_version_path: 'do1jlr.gitea.version'