1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

Explain forgejo installation

This commit is contained in:
L3D 2023-01-27 01:43:17 +01:00
parent 975be7e627
commit 1ab7e7d87f
Signed by: l3d
GPG key ID: CD08445BFF4313D1
5 changed files with 9 additions and 7 deletions

View file

@ -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 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 & screenshots](https://github.com/go-gitea/gitea).
[Source code forgejo](https://codeberg.org/forgejo/forgejo)
## Sample example of use in a playbook ## Sample example of use in a playbook

View file

@ -2,7 +2,7 @@
galaxy_info: galaxy_info:
role_name: gitea role_name: gitea
author: do1jlr 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" license: "BSD-3-Clause"
min_ansible_version: "2.11" min_ansible_version: "2.11"
platforms: platforms:
@ -20,6 +20,7 @@ galaxy_info:
- all - all
galaxy_tags: galaxy_tags:
- gitea - gitea
- forgejo
- git - git
- system - system
- development - development

View file

@ -51,7 +51,7 @@
changed_when: false changed_when: false
failed_when: _gitea_gpg_key_status.rc not in (0, 2) 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: ansible.builtin.debug:
msg: "{{ _gitea_gpg_key_status.stdout }}" msg: "{{ _gitea_gpg_key_status.stdout }}"
verbosity: 1 verbosity: 1

View file

@ -51,7 +51,7 @@
changed_when: false changed_when: false
failed_when: _gitea_gpg_key_status.rc not in (0, 2) 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: ansible.builtin.debug:
msg: "{{ _gitea_gpg_key_status.stdout }}" msg: "{{ _gitea_gpg_key_status.stdout }}"
verbosity: 1 verbosity: 1

View file

@ -62,5 +62,5 @@ transfer_custom_footer:
- 'files/gitea_footer/extra_links_footer.tmpl' - 'files/gitea_footer/extra_links_footer.tmpl'
- 'files/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' playbook_version_path: 'do1jlr.gitea.version'