mtpereira.erlang
Erlang 
Installs Erlang from a custom repository. By default it'll install the latest erlang and erlang-manpages packages available from Erlang Solutions repositories.
Requirements
None.
Role Variables
Required variables:
erlang_packages_state: State foraptmodule, for defining if packages should be installed, upgraded to latest version or removed. Default tolatest.erlang_additional_packages: List of additional packages to install. Defaults to[erlang-manpages].erlang_repo: Repository URL for package installation. Defaults tohttp://packages.erlang-solutions/for Debian and tohttps://packages.erlang-solutions.com/for Ubuntu.erlang_repo_key_url: GPG key URL for repository validation. Defaults tohttps://packages.erlang-solutions.com/{{ ansible_distribution | lower }}/erlang_solutions.asc.erlang_repo_key_server: GPG key server URL for repository validation. Used in conjunction witherlang_repo_key_id. If these two variables are defined, do not defineerlang_repo_key_url.erlang_repo_key_id: GPG key ID for repository validation. Used in conjunction witherlang_repo_key_server. If these two variables are defined, do not defineerlang_repo_key_url.erlang_pin: Defines if theerlang_repowill be pinned. Defaults totrue.
Internal variables, avoid changing:
erlang_packages_force: Forces package installation when packages are not authenticated. This is happening on Erlang-Solution's Debian repository. Defaults toyesfor Debian andnofor every other distribution.erlang_pin_priority: Pin priority. Defaults to999, so that theerlang_repoas priority over other repositories except when it would downgrade the installed package.
Dependencies
None.
Testing
Tests can be ran on Debian Wheezy and Ubuntu Trusty boxes by executing "vagrant up".
Example Playbook
- hosts: servers
roles:
- role: mtpereira.erlang
erlang_additional_packages:
- erlang-doc
- erlang-manpages
- erlang-mode
become: yes
License
BSD
Author Information
Thanks to Erlang Solutions for the Erlang packages repository.
About
Ansible role for Erlang. Installs Erlang from a custom repository. By default it will install the latest ```erlang``` and ```erlang-manpages``` packages available from [Erlang Solutions repositories](https://packages.erlang-solutions.com/erlang/).
Install
ansible-galaxy install mtpereira.erlangLicense
Unknown
Downloads
103
Owner
:wrench: Builder of reliable systems.
:book: Technical reviewer of the "Kubernetes on AWS" book.
:coffee: 2023 Portuguese AeroPress champion
