Skip to content

Commit

Permalink
Merge pull request #97 from roles-ansible/meta
Browse files Browse the repository at this point in the history
update galaxy namespace
  • Loading branch information
DO1JLR authored Mar 21, 2023
2 parents d30930b + 3b2b3a4 commit 41792b5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
============================
Expand All @@ -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
Expand Down Expand Up @@ -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 [@[email protected]](https://chaos.social/@l3d).
Expand Down
3 changes: 2 additions & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -28,4 +28,5 @@ galaxy_info:
- selfhosted
- gitserver
- gogs
- linux
dependencies: []
2 changes: 1 addition & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 41792b5

Please sign in to comment.