Skip to content

sparanoid/ansible-pptp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: PPTP

Build Status

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:

- hosts: servers
  roles:
    - role: sparanoid.pptp

Overriding 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.

License

GPLv3

Author Information

Tunghsiao Liu

Releases

No releases published

Packages

No packages published