nickmasff.asterisk
Ansible Role: Asterisk
This role installs and sets up MySQL and Asterisk with the ODBC realtime database driver.
Requirements
No special requirements. However, this role needs root access. You can either run it in a playbook with become: yes
or use it like this in your playbook:
- hosts: asterisk_machines
roles:
- role: nickmasff.asterisk
become: yes
Install via ansible-galaxy
Download this role using ansible-galaxy with the command:
ansible-galaxy install nickmasff.asterisk
Dependencies
None.
Example Playbook
- hosts: asterisk_machines
become: yes
vars_files:
- variables.yml
roles:
- { role: nickmasff.asterisk }
Inside variables.yml
:
mysql_user: user
mysql_password: password
mysql_database: asterisk
mysql_priv: "asterisk.*:ALL"
mysql_root_pass: password
asterisk_username: asterisk
asterisk_group: asterisk
asterisk_config_path: ../../../files/asterisk/
License
MIT / BSD
Author Information
Nickmasff
nickmasff@yandex.ru