mosquitto: Move acl files to repo
This commit is contained in:
parent
649cf7b22d
commit
84daad7b79
3 changed files with 10 additions and 2 deletions
4
roles/mosquitto/files/acl-tls.conf
Normal file
4
roles/mosquitto/files/acl-tls.conf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
pattern read #
|
||||||
|
|
||||||
|
user frigate*.home.foo.sh
|
||||||
|
pattern readwrite frigate/%u/#
|
4
roles/mosquitto/files/acl.conf
Normal file
4
roles/mosquitto/files/acl.conf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
topic deny #
|
||||||
|
|
||||||
|
user shellyplug-s-*
|
||||||
|
pattern write shellies/%u/#
|
|
@ -38,7 +38,7 @@
|
||||||
- name: Copy acl file for plaintext server
|
- name: Copy acl file for plaintext server
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/mosquitto/acl.conf
|
dest: /etc/mosquitto/acl.conf
|
||||||
src: "{{ ansible_private }}/files/mosquitto/acl.conf"
|
src: acl.conf
|
||||||
mode: "0400"
|
mode: "0400"
|
||||||
owner: _mosquitto
|
owner: _mosquitto
|
||||||
group: _mosquitto
|
group: _mosquitto
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
- name: Copy acl file for tls server
|
- name: Copy acl file for tls server
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/mosquitto/acl-tls.conf
|
dest: /etc/mosquitto/acl-tls.conf
|
||||||
src: "{{ ansible_private }}/files/mosquitto/acl-tls.conf"
|
src: acl-tls.conf
|
||||||
mode: "0400"
|
mode: "0400"
|
||||||
owner: _mosquitto
|
owner: _mosquitto
|
||||||
group: _mosquitto
|
group: _mosquitto
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue