Install network-manager-l2tp package.
This role requires Ansible 2.2 or higher, and platform requirements are listed in the metadata file.
This role use Molecule to run tests.
Local and Travis tests run tests on Docker by default. See molecule documentation to use other backend.
Currently, tests are done on:
- Ubuntu Trusty
- Ubuntu Xenial
and use:
- Ansible 2.2.x
- Ansible 2.3.x
- Ansible 2.4.x
$ tox
# Installation mode
nm_l2tp_install_from_repository: "{{ _nm_l2tp_install_from_repository }}"
# Repository management
nm_l2tp_apt_cache_valid_time: 3600
nm_l2tp_repositories: "{{ _nm_l2tp_repositories }}"
# Packages
nm_l2tp_packages: "{{ _nm_l2tp_packages }}"
nm_l2tp_system_dependencies: "{{ _nm_l2tp_system_dependencies }}"
# Installation mode
_nm_l2tp_install_from_repository: True
# Repository management
_nm_l2tp_repositories:
- repo: 'ppa:nm-l2tp/network-manager-l2tp'
filename: 'network-manager-l2tp'
# Packages
_nm_l2tp_packages:
- name: 'network-manager-l2tp'
- name: 'network-manager-l2tp-gnome'
_nm_l2tp_system_dependencies:
- name: 'ca-certificates'
None
- hosts: servers
roles:
- { role: Temelio.network-manager-l2tp }
MIT
Alexandre Chaussier (for Temelio company)
- http://www.temelio.com
- alexandre.chaussier [at] temelio.com