Add asterisk user to the right group

This commit is contained in:
Stefan Haun 2022-08-04 00:00:11 +02:00
parent 9a5303c216
commit e1fb88c32b

View file

@ -268,6 +268,13 @@
mode: "0644" mode: "0644"
notify: restart asterisk notify: restart asterisk
- name: Ensure asterisk is in the right groups
ansible.builtin.user:
name: asterisk
groups: audio,i2c,gpio
append: yes
notify: restart asterisk
handlers: handlers:
- name: restart mosquitto - name: restart mosquitto