Install sudo config for Asterisk I2C
This commit is contained in:
parent
4fbfd031a3
commit
64eee7b7de
1 changed files with 11 additions and 0 deletions
|
@ -277,6 +277,17 @@
|
|||
append: yes
|
||||
notify: restart asterisk
|
||||
|
||||
# Asterisk now executes shell scripts with reduced privileges, so we need to
|
||||
# use sudo for I2C access.
|
||||
- name: Set up sudo configuration for Asterisk I2C access
|
||||
ansible.builtin.copy:
|
||||
src: "files/platon/11_asterisk_i2c"
|
||||
dest: "/etc/sudoers.d/"
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
# Asterisk restart is not necessary
|
||||
|
||||
- name: Copy sounds
|
||||
ansible.builtin.copy:
|
||||
src: "files/platon/{{ item }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue