Copy Asterisk sound files
This commit is contained in:
parent
d90e6269ca
commit
0d6ca7bb68
1 changed files with 14 additions and 0 deletions
14
platon.yml
14
platon.yml
|
@ -275,6 +275,20 @@
|
|||
append: yes
|
||||
notify: restart asterisk
|
||||
|
||||
- name: Copy sounds
|
||||
ansible.builtin.copy:
|
||||
src: "files/platon/{{item}}"
|
||||
dest: "/usr/local/share/asterisk/sounds/n39/"
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
loop:
|
||||
# Check the extensions.conf.j2 template to see which files are needed
|
||||
- hello.gsm
|
||||
- granted.gsm
|
||||
- denied.gsm
|
||||
# Asterisk restart is not necessary
|
||||
|
||||
|
||||
handlers:
|
||||
- name: restart mosquitto
|
||||
|
|
Loading…
Reference in a new issue