Ansible script for setting up OpenVPN docker server on VPS. Generate clients certificates and ovpn configurations
- Change ansible_deploy/inventory.yml for your vps server
- Change array for your openvpn clients in host_vars
- ovpn_clients:
- name: iphone_ss6
- name: iphone_ss7
- name: router
bash deploy.sh
oransible-playbook -vvvv -i ansible_deploy/inventory.yml ansible_deploy/deploy.yml --ask-sudo-pass
and promt VPS sudo password- Getting result configurations for your clients in directory
result
- Client keys has no password
- PKI generates without password for starting without promts