dougbtv.install-asterisk

install-asterisk

This is an Ansible role for installing Asterisk, specifically the certified branch of Asterisk 13.

Requirements

This role is designed to install Asterisk from source on CentOS or Fedora, focusing mainly on the Certified branch. It currently requires CentOS versions 6 and 7, and it may work on CentOS 5.5 as well.

Role Variables

(No variables defined yet)

Install via Ansible Galaxy

You can download this role using Ansible Galaxy with the following command:

ansible-galaxy install dougbtv.install-asterisk

Example Playbook

Here’s a simple way to use this role after installing it via Ansible Galaxy to install Asterisk:

- hosts: servers
  roles:
     - { role: dougbtv.install-asterisk }

If you want to set up a specific user for Asterisk to run as, you can specify those details like this:

- hosts: servers
  roles:
     - { role: dougbtv.install-asterisk, configure_user: true, asterisk_user: "asterisk", asterisk_group: "asterisk" }

The asterisk_user and asterisk_group options are optional and default to "asterisk". If you don't need to change the user settings, simply leave those options out.

Use via Git Clone

Another option is to clone the repository and use the example test.yml playbook to test it out and base your setup on that:

  1. Clone the repository using git clone https://github.com/dougbtv/install-asterisk.git
  2. Update the host details in the test.inventory file.
  3. Run the playbook with: ansible-playbook -i test.inventory test.yml

License

MIT License

Author Information

Doug Smith
dougbtv.com
@dougbtv

Informazioni sul progetto

Installs / Uninstalls Asterisk from source on Centos

Installa
ansible-galaxy install dougbtv.install-asterisk
Licenza
Unknown
Download
249
Proprietario
You can find me on twitter as dougbtv, too.