Aplyca.VPN
Ansible Role VPN
An Ansible role that install and configure VPN
Ansible Role that VPN code on Debian/Ubuntu.
Requirements
Use hash behavior for variables in ansible.cfg See example: https://github.com/Aplyca/ansible-role-vpn/blob/master/tests/ansible.cfg See official docs: http://docs.ansible.com/intro_configuration.html#hash-behaviour
Installation
Using ansible galaxy:
ansible-galaxy install Aplyca.VPN
You can add this role as a dependency for other roles, add the role to the meta/main.yml file of your own role:
dependencies:
- { role: Aplyca.VPN }
Role Variables
See default variables: https://github.com/Aplyca/ansible-role-vpn/blob/master/defaults/main.yml
Dependencies
None
Running feature provision
Use tags to run a specific feature in the provisioning, i.e: to update the users you can run the following command:
Update users:
ansible-playbook -i inventories/local playbooks.yml --tags vpn_users
Testing
Using Vagrant:
tests/vagrant.sh
Using Docker:
tests/docker.sh
License
MIT / BSD
Author Information
Mauricio Sánchez from Aplyca SAS (http://www.aplyca.com)
