add nodiscc.xsrv.gitea ansible role #97
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch ":nodiscc.xsrv.gitea"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
this PR adds the xsrv.gitea ansible role, which can be used to deploy Gitea on any Debian-based Linux machine.
The role can be used from the xsrv command-line tool/ansible wrapper, or with ansible command-line tools. Optionally it integrates with netdata for instance health monitoring, apache for reverse proxy and SSL/TLS certificate management, rsnapshot for automatic backups, and postgresql as a RDBMS.
Detailed installation/configuration documentation can be found at https://xsrv.readthedocs.io/en/latest/installation.html, but here is the short version using ansible command-line tools and self-signed certificates:
Create required files and directories (replace my.CHANGEME.org with the address of the server where gitea will be deployed, and other CHANGEME values with values of your choice)
See defaults/main.yml for all available configuration variables.
I use the role to manage multiple environments/instances for a few years without problems and will keep maintaining it in the foreseeable future.
Let me know if you need additional information.
Cool! Do you also plan to add it to ansible-galaxy?
It's there: https://galaxy.ansible.com/nodiscc/xsrv
Ah great, must have overlooked it! To me an ansible role that is well maintained could even be linked in https://docs.gitea.io/ as a standalone "Installation" method.
I haven't taken a closer look at it but the first look I had at it looked quite professional.
@lunny What do you think?
Thank you, I try to keep it clean and well tested. Keep in mind that it has limitations:
The other two ansible roles listed (https://github.com/melvin-suter/ansible.gitea and https://github.com/thomas-maurice/ansible-role-gitea) do not look maintained for > a year and they install old gitea versions, so I would start with pinging the maintainers or removing them.
Sorry just noticed this. Looks like Gitea needs a mentioned notification filter. Maybe @nodiscc could send a PR to docs?