A Collection of Ansible Playbook for deploy vpn services
A collection of Ansible Playbooks to deploy VPN and proxy services.
[sudo] pip install ansible
install Ansible in control machineansible-galaxy install --force -r requirements.yml
install / update some third party roles .cp ansible_hosts{.example,}
copy ansible_hosts.example
to ansible_hosts
group_vars
or create and edit host_vars/SERVER_NAME.yml
to fit your needsansible-playbook PLAYBOOK_NAME.yml
to setup serversThere are also some guides (in Chinese) in the Wiki
Simply clone this repo and make sure you have Vagrant + Virtual Box installed and...
vagrant up ubuntu --no-provision
vagrant provision ubuntu
It may take about 10 ~ 60 minutes depends on your network. Vagrant is using Ubuntu 14.04 (ubuntu/trusty64) for it's OS. If you'd like to test on Debian Wheezy:
vagrant up debian --no-provision
vagrant provision debian
Support this project and others by ftao via gratipay.