-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from roles-ansible/meta
update galaxy namespace
- Loading branch information
Showing
3 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
============================ | ||
|
@@ -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 [@[email protected]](https://chaos.social/@l3d). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters