set up metrics route for miniflux
This commit is contained in:
parent
7cc84ccc2c
commit
07d4e5a5ba
5 changed files with 32 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue