From 756dc388bedf97b68449e919a6730788f730c7b8 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 16 Jul 2026 14:39:19 +0200 Subject: Refactor pve cgit to use generic proxy This is refactoring the PoC for deploying cgit on pve, to now move to a more standard deployment with dedicated agnonstic proxy role/container --- roles/caddy/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/caddy/tasks/main.yml') diff --git a/roles/caddy/tasks/main.yml b/roles/caddy/tasks/main.yml index f057f2b6..51b21502 100644 --- a/roles/caddy/tasks/main.yml +++ b/roles/caddy/tasks/main.yml @@ -1,7 +1,7 @@ --- - name: "Stop and disable nginx" become: true - ansible.builtin.systemd_service: + ansible.builtin.service: name: "nginx" state: "stopped" enabled: false @@ -34,7 +34,7 @@ - name: "Start and enable caddy" become: true - ansible.builtin.systemd_service: + ansible.builtin.service: name: "caddy" state: "started" enabled: true -- cgit v1.2.3