From cd8538901bfc514b857f052e4156aabf38a47f53 Mon Sep 17 00:00:00 2001 From: L3D Date: Tue, 21 Mar 2023 20:21:34 +0100 Subject: [PATCH 1/2] update meta info --- README.md | 8 +++++--- meta/main.yml | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a8f9f16..89d1d6b 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 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: [] From 3b2b3a436fdc5f8ab8bff22b12257bde8451173e Mon Sep 17 00:00:00 2001 From: L3D Date: Tue, 21 Mar 2023 21:05:14 +0100 Subject: [PATCH 2/2] update version and list required python packages --- README.md | 7 +++++++ vars/main.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 89d1d6b..62b5067 100644 --- a/README.md +++ b/README.md @@ -351,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/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'