Copy Asterisk sound files

This commit is contained in:
Stefan Haun 2022-08-05 17:23:35 +02:00
parent d90e6269ca
commit 0d6ca7bb68

View file

@ -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