From eab4f5746a69783e4e3a3c05808ab58b5d2f494d Mon Sep 17 00:00:00 2001 From: Miguel Dalberto Pedro Date: Thu, 29 Oct 2026 16:42:44 -0300 Subject: feat(cgit): deploy cgit, fcgiwrap, and dedicated git SSH server - Enable cgit role (cgit_enabled: true) for git.miguelpedro.xyz.br - Provision dedicated 'git' user/group (/srv/git, git-shell, authorized_keys) - Add custom git-shell commands ('init' and 'list') for remote bare repo creation - Configure /etc/cgitrc with HTTP clone support, Pygments syntax highlighting, and README rendering - Add Nginx virtual host with automatic TLS upgrade once Let's Encrypt cert is present - Update DISCOVERY_REPORT.md, COMMAND_LOG.md, README.md, and AGENT_INSTRUCTIONS.md per Self-Updating Protocol --- roles/cgit/handlers/main.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roles/cgit/handlers/main.yml (limited to 'roles/cgit/handlers/main.yml') diff --git a/roles/cgit/handlers/main.yml b/roles/cgit/handlers/main.yml new file mode 100644 index 0000000..e4af55c --- /dev/null +++ b/roles/cgit/handlers/main.yml @@ -0,0 +1,5 @@ +--- +- name: Restart fcgiwrap + ansible.builtin.systemd: + name: fcgiwrap.service + state: restarted -- cgit v1.2.3