summaryrefslogtreecommitdiffstats
path: root/roles/nginx/tasks
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/nginx/tasks
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/nginx/tasks')
-rw-r--r--roles/nginx/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/nginx/tasks/main.yml b/roles/nginx/tasks/main.yml
index e37e51f1..e9095dcc 100644
--- a/roles/nginx/tasks/main.yml
+++ b/roles/nginx/tasks/main.yml
@@ -4,7 +4,7 @@
- name: "Stop and disable caddy"
become: true
- ansible.builtin.systemd_service:
+ ansible.builtin.service:
name: "caddy"
state: "stopped"
enabled: false
@@ -94,7 +94,7 @@
- name: "Start and enable nginx"
become: true
- ansible.builtin.systemd_service:
+ ansible.builtin.service:
name: "nginx"
state: "started"
enabled: true