https://github.com/sparanoid/ansible-pptp
Ansible role for PPTP VPN
https://github.com/sparanoid/ansible-pptp
ansible ansible-playbook ansible-role centos pptp pptp-vpn vpn
Last synced: 4 months ago
JSON representation
Ansible role for PPTP VPN
- Host: GitHub
- URL: https://github.com/sparanoid/ansible-pptp
- Owner: sparanoid
- Created: 2015-10-03T06:31:41.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-11-25T17:05:20.000Z (over 7 years ago)
- Last Synced: 2026-01-12T02:31:02.912Z (6 months ago)
- Topics: ansible, ansible-playbook, ansible-role, centos, pptp, pptp-vpn, vpn
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible Role: PPTP
[](https://travis-ci.org/sparanoid/ansible-pptp)
Install PPTP VPN via Ansible.
## Features
- Install or upgrade `ppp` and `pptp` easily
- Tuning `sysctl`
- Update iptables rules
- Add / update PPTP users and passwords in YAML configs
## Requirements
This role requires Ansible 1.6 or higher and platform requirements are listed in the metadata file.
## Dependencies
None
## Example Playbooks
Install PPTP with default passwords:
In `pptp-vpn.yml`:
```yaml
- hosts: servers
roles:
- role: sparanoid.pptp
```
Overriding users and passwords:
```shell
$ ansible-playbook pptp-vpn.yml --extra-vars "@vpn-users.yml"
```
In `vpn-users.yml`:
```yaml
---
pptp_users:
- { "user": "user1", "passwd": "pass1" }
- { "user": "user2", "passwd": "pass2" }
```
Note: You can use `--tags users` to only execute user update tasks.
## License
GPLv3
## Author Information
**Tunghsiao Liu**
- Twitter: @[tunghsiao](http://twitter.com/tunghsiao)
- GitHub: @[sparanoid](http://github.com/sparanoid)