Add asterisk user to the right group
This commit is contained in:
parent
9a5303c216
commit
e1fb88c32b
1 changed files with 7 additions and 0 deletions
|
@ -268,6 +268,13 @@
|
|||
mode: "0644"
|
||||
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:
|
||||
- name: restart mosquitto
|
||||
|
|
Loading…
Reference in a new issue