This role installs OpenSIPS SIP Server from the official OpenSIPS Repositories for Debian and RedHat.
Install your role using Ansible Galaxy:
ansible-galaxy install razvancrainea.opensips
The following variables can be set to tune the role's install behavior:
opensips_version
- specifies the version of OpenSIPS that is going to be installed. Default is2.4
.ansible_build
- indicates the OpenSIPS build. Possible values arereleases
andnightly
. Default value isreleases
.opensips_yum_release
- indicates a specific RedHat release of OpenSIPS that should be used.opensips_modules
- additional modules that are going to be installed besides theopensips
package. This variable should contain packages from the distribution thatopensips
is installed on. For example, if you want to add the httpd module, you will have to add to the listopensips-http-modules
. Default value is empty ([]
) - no other modules are installed.opensips_config
- specify a configuration template that is going to be used instead of the default opensips configuration file.
Setting up a playbook is very simple: all you need to do is to load the
opensips
role.
- hosts: servers
import_role:
- name: opensips
GPLv3
This role has been developed by the OpenSIPS Project.