From 1ab7e7d87f79c26087a06988ff44305fc56bb6f3 Mon Sep 17 00:00:00 2001 From: L3D Date: Fri, 27 Jan 2023 01:43:17 +0100 Subject: [PATCH] Explain forgejo installation --- README.md | 7 ++++--- meta/main.yml | 3 ++- tasks/install_forgejo.yml | 2 +- tasks/install_gitea.yml | 2 +- vars/main.yml | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a236d11..7be0740 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ [![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 role gitea -=================== + ansible role gitea/forgejo +============================ -This role installs and manages [gitea](https://gitea.io) - Git with a cup of tea. A painless self-hosted Git service. Gitea is a community managed lightweight code hosting solution written in Go. +This role installs and manages [gitea](https://gitea.io) or [forgejo](https://forgejo.org). A painless self-hosted Git service. Gitea is a community managed lightweight code hosting solution written in Go. Forgejo is a fork of it. [Source code & screenshots](https://github.com/go-gitea/gitea). +[Source code forgejo](https://codeberg.org/forgejo/forgejo) ## Sample example of use in a playbook diff --git a/meta/main.yml b/meta/main.yml index 1c5fee8..7c8944d 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -2,7 +2,7 @@ galaxy_info: role_name: gitea author: do1jlr - description: Ansible role to configure and deploy gitea, a painless self-hosted Git service. + 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" platforms: @@ -20,6 +20,7 @@ galaxy_info: - all galaxy_tags: - gitea + - forgejo - git - system - development diff --git a/tasks/install_forgejo.yml b/tasks/install_forgejo.yml index 018ca9b..5d94e86 100644 --- a/tasks/install_forgejo.yml +++ b/tasks/install_forgejo.yml @@ -51,7 +51,7 @@ changed_when: false failed_when: _gitea_gpg_key_status.rc not in (0, 2) - - name: print gpg key staus on verbosity + - name: Print gpg key staus on verbosity ansible.builtin.debug: msg: "{{ _gitea_gpg_key_status.stdout }}" verbosity: 1 diff --git a/tasks/install_gitea.yml b/tasks/install_gitea.yml index d212f9b..2f4405c 100644 --- a/tasks/install_gitea.yml +++ b/tasks/install_gitea.yml @@ -51,7 +51,7 @@ changed_when: false failed_when: _gitea_gpg_key_status.rc not in (0, 2) - - name: print gpg key staus on verbosity + - name: Print gpg key staus on verbosity ansible.builtin.debug: msg: "{{ _gitea_gpg_key_status.stdout }}" verbosity: 1 diff --git a/vars/main.yml b/vars/main.yml index 0990cb4..0c85289 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: 41 # should be int +playbook_version_number: 42 # should be int playbook_version_path: 'do1jlr.gitea.version'