27 lines
701 B
YAML
27 lines
701 B
YAML
- name: Configure extensions
|
|
template:
|
|
src: extensions.conf.j2
|
|
dest: /etc/asterisk/extensions.conf
|
|
notify: reload dialplan
|
|
- name: Configure SIP clients
|
|
template:
|
|
src: pjsip.conf.j2
|
|
dest: /etc/asterisk/pjsip.conf
|
|
notify: reload sip
|
|
- name: Configure mailboxes
|
|
template:
|
|
src: voicemail.conf.j2
|
|
dest: /etc/asterisk/voicemail.conf
|
|
notify: reload voicemail
|
|
- name: Configure HTTP interface
|
|
template:
|
|
src: http.conf.j2
|
|
dest: /etc/asterisk/http.conf
|
|
notify: reload core
|
|
- name: Configure ARI interface
|
|
template:
|
|
src: ari.conf.j2
|
|
dest: /etc/asterisk/ari.conf
|
|
notify: reload core
|
|
- ansible.builtin.include_tasks:
|
|
file: install_voicemail_api.yml
|