summaryrefslogtreecommitdiffstats
path: root/roles/caddy/tasks/main.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-16 14:39:19 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-16 17:02:52 +0200
commit756dc388bedf97b68449e919a6730788f730c7b8 (patch)
treece823916a242ea9d44194bbaf6da04d1596b935d /roles/caddy/tasks/main.yml
parentf79d1d829cdafebb5dbcd658d31ae89f2e53ce73 (diff)
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
Diffstat (limited to 'roles/caddy/tasks/main.yml')
-rw-r--r--roles/caddy/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
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