set up metrics route for miniflux

This commit is contained in:
Jef Roosens 2026-04-20 22:01:30 +02:00
parent 7cc84ccc2c
commit 07d4e5a5ba
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
5 changed files with 32 additions and 2 deletions

View file

@ -27,12 +27,14 @@
loop:
- 'miniflux-app.container'
- 'miniflux.pod'
notify: 'restart miniflux-app'
- name: Ensure configuration directory is present
ansible.builtin.file:
path: '/etc/miniflux'
state: directory
mode: '0755'
become: true
- name: Ensure environment file is present
ansible.builtin.template:
@ -41,7 +43,8 @@
mode: '0644'
owner: 'root'
group: 'root'
register: res
become: true
notify: 'restart miniflux-app'
- name: Ensure Caddyfile is present
copy:
@ -50,7 +53,8 @@
owner: root
group: root
mode: '0644'
notify: reload caddy
become: true
notify: 'reload caddy'
# - name: Ensure stack is deployed
# ansible.builtin.shell: