mosquitto: Move acl files to repo

This commit is contained in:
Timo Makinen 2024-12-23 10:10:48 +00:00
parent 649cf7b22d
commit 84daad7b79
3 changed files with 10 additions and 2 deletions

View file

@ -0,0 +1,4 @@
pattern read #
user frigate*.home.foo.sh
pattern readwrite frigate/%u/#

View file

@ -0,0 +1,4 @@
topic deny #
user shellyplug-s-*
pattern write shellies/%u/#

View file

@ -38,7 +38,7 @@
- name: Copy acl file for plaintext server
ansible.builtin.copy:
dest: /etc/mosquitto/acl.conf
src: "{{ ansible_private }}/files/mosquitto/acl.conf"
src: acl.conf
mode: "0400"
owner: _mosquitto
group: _mosquitto
@ -47,7 +47,7 @@
- name: Copy acl file for tls server
ansible.builtin.copy:
dest: /etc/mosquitto/acl-tls.conf
src: "{{ ansible_private }}/files/mosquitto/acl-tls.conf"
src: acl-tls.conf
mode: "0400"
owner: _mosquitto
group: _mosquitto