feat: new services and fixes

This commit is contained in:
Clément Désiles
2025-12-20 20:52:24 +01:00
parent d8eb53f096
commit 787c171f65
19 changed files with 301 additions and 22 deletions
-1
View File
@@ -1,4 +1,3 @@
---
dependencies:
- role: podman
- role: nginx
+2 -2
View File
@@ -91,7 +91,7 @@
- name: Deploy nginx vhost configuration for ntfy
ansible.builtin.template:
src: nginx-vhost.conf.j2
dest: /etc/nginx/conf.d/ntfy.conf
dest: "{{ nginx_conf_dir }}/ntfy.conf"
owner: root
group: root
mode: "0644"
@@ -100,7 +100,7 @@
- name: Remove nginx vhost configuration for ntfy
ansible.builtin.file:
path: /etc/nginx/conf.d/ntfy.conf
path: "{{ nginx_conf_dir }}/ntfy.conf"
state: absent
when: not ntfy_nginx_enabled
notify: Reload nginx
+2 -2
View File
@@ -7,8 +7,8 @@ After=network-online.target
Type=oneshot
RemainAfterExit=true
WorkingDirectory={{ podman_projects_dir }}/ntfy
ExecStart=/usr/bin/podman compose up -d
ExecStop=/usr/bin/podman compose down
ExecStart=/usr/bin/podman-compose up -d
ExecStop=/usr/bin/podman-compose down
Restart=on-failure
RestartSec=10