https://github.com/sansible/openvpn
https://github.com/sansible/openvpn
ansible ansible-role ansible-roles openvpn openvpn-server
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sansible/openvpn
- Owner: sansible
- License: mit
- Created: 2016-05-20T13:22:07.000Z (about 10 years ago)
- Default Branch: develop
- Last Pushed: 2018-03-29T13:11:29.000Z (over 8 years ago)
- Last Synced: 2025-04-08T10:41:38.071Z (about 1 year ago)
- Topics: ansible, ansible-role, ansible-roles, openvpn, openvpn-server
- Language: Shell
- Size: 18.6 KB
- Stars: 6
- Watchers: 10
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenVPN
Master: [](https://travis-ci.org/sansible/openvpn)
Develop: [](https://travis-ci.org/sansible/openvpn)
* [ansible.cfg](#ansible-cfg)
* [Installation and Dependencies](#installation-and-dependencies)
* [Tags](#tags)
* [Examples](#examples)
This roles installs Openvpn.
## ansible.cfg
This role is designed to work with merge "hash_behaviour". Make sure your
ansible.cfg contains these settings
```INI
[defaults]
hash_behaviour = merge
```
## Installation and Dependencies
To install run `ansible-galaxy install sansible.openvpn` or add this to your
`roles.yml`.
```YAML
- name: sansible.openvpn
version: v1.0
```
and run `ansible-galaxy install -p ./roles -r roles.yml`
## Tags
This role uses two tags: **build** and **configure**
* `build` - Installs Openvpn and all it's dependencies.
* `configure` - Configure and ensures that the Openvpn service is running.
## Examples
To install:
```YAML
- name: Install and configure Openvpn
hosts: "somehost"
roles:
- role: sansible.openvpn
```
With keys in S3 and EIP:
```YAML
- name: Install and configure Openvpn
hosts: "somehost"
roles:
- role: sansible.openvpn
openvpn:
aws_s3_path: "s3://secrets/vpn"
aws_ec2_elastic_ip: "52.14.28.119"
bastion_route_subnet: "172.1.0.0/16"
subnet: "10.1.0.0/16"
tls_auth_enabled: yes
```