Ansible role for VPN L2TP installation
- Install or copy the role.
- Include the role in your playbook
- Set variable in vars role folder or in your playbook.
- public_ip: public ip of the server
- private_ip: local ip of the server
- { username: "username1", password: "password1" }
- Run playbook
- Configure VPN using username and password provided
Cloudformation with bash script in userdata used as base script