Install PPTP VPN via Ansible.
- Install or upgrade
pppandpptpeasily - Tuning
sysctl - Update iptables rules
- Add / update PPTP users and passwords in YAML configs
This role requires Ansible 1.6 or higher and platform requirements are listed in the metadata file.
None
Install PPTP with default passwords:
In pptp-vpn.yml:
- hosts: servers
roles:
- role: sparanoid.pptpOverriding users and passwords:
$ ansible-playbook pptp-vpn.yml --extra-vars "@vpn-users.yml"In vpn-users.yml:
---
pptp_users:
- { "user": "user1", "passwd": "pass1" }
- { "user": "user2", "passwd": "pass2" }Note: You can use --tags users to only execute user update tasks.
GPLv3
Tunghsiao Liu