https://github.com/cimon-io/ansible-role-openvpn-server
https://github.com/cimon-io/ansible-role-openvpn-server
ansible ansible-role openvpn
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cimon-io/ansible-role-openvpn-server
- Owner: cimon-io
- Created: 2018-10-01T12:24:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-16T15:19:38.000Z (over 6 years ago)
- Last Synced: 2024-12-29T11:45:00.818Z (over 1 year ago)
- Topics: ansible, ansible-role, openvpn
- Size: 5.86 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/cimon-io/ansible-role-openvpn-server)
# Ansible Role OpenVPN Server
An ansible role that installs and configures OpenVPN server. It also allows you to install from source OpenSSL.
## Requirements
None
## Role Variables
Available variables are listed below, along with default values.
```yaml
openvpn_config_files: []
# openvpn_config_files: ["files/openvpn/*.conf"]
openvpn_requirements:
- build-essential
- git
- pkg-config
- libpam0g-dev
- libsystemd-dev
openvpn_version: "2.4.7"
openvpn_source: "https://swupdate.openvpn.org/community/releases/openvpn-{{ openvpn_version }}.tar.gz"
openvpn_src_path: "/usr/local/src/"
openvpn_conf_path: "/etc/openvpn"
openvpn_install_path: "/opt/openvpn"
openvpn_configure_args: "--prefix={{ openvpn_install_path }} --disable-lzo --enable-iproute2 --enable-systemd --enable-x509-alt-username"
openvpn_configure_env: {}
# CFLAGS: "-I{{ openvpn_openssl_prefix }}/include -Wl,-rpath={{ openvpn_openssl_prefix }}/lib -L{{ openvpn_openssl_prefix }}/lib"
openvpn_system_openssl: True
openvpn_openssl_version: "1.1.1d"
openvpn_openssl_source: "https://www.openssl.org/source/openssl-{{ openvpn_openssl_version }}.tar.gz"
openvpn_openssl_prefix: "/opt/openssl"
openvpn_openssl_openssldir: "/opt/openssl/ssl"
openvpn_easyrsa_version: "v3.0.6"
openvpn_easyrsa_repo: "https://github.com/OpenVPN/easy-rsa.git"
```
## Dependencies
None
## Notes
You must specify the path to the shared libraries `LD_LIBRARY_PATH={{ openvpn_openssl_prefix }}/lib/` (for easyrsa - `vars` file).
## License
Licensed under the [MIT License](https://opensource.org/licenses/MIT).