Add logging directory

This commit is contained in:
nemunaire 2023-12-12 11:57:31 +01:00
parent 38824afd62
commit 58a59d2295

View File

@ -35,6 +35,14 @@
notify: notify:
- reload matterbridge - reload matterbridge
- name: ensure logging directory is present
file:
path: "/var/log/matterbridge"
state: directory
owner: nobody
group: nogroup
when: "instance_name is defined"
- name: ensure matterbridge is running - name: ensure matterbridge is running
service: service:
name: matterbridge name: matterbridge