asc.core.services_ovpn role – Deploy an OpenVPN server and configure it
Note
This role is part of the asc.core collection (version 1.0.4).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it use: git clone git@ssh.dev.azure.com:v3/cloudasc/iac-ansible-collections/core $HOME/.ansible/collections/ansible_collections/asc/core.
To use it in a playbook, specify: asc.core.services_ovpn.
Entry point main – Deploy an OpenVPN server and configure it
New in asc.core 1.0.0
Synopsis
Deploys an OpenVPN server and configures it
Parameters
Parameter |
Comments |
|---|---|
‘services_ovpn’ role configuration |
|
Display name of the application to register in Azure AD Default: |
|
Whether to enable the role Choices:
|
|
Device to use for OpenVPN Choices:
|
|
Netmask to use for OpenVPN Default: |
|
Port to use for OpenVPN Default: |
|
Protocol to use for OpenVPN Choices:
|
|
Subnet to use for OpenVPN Default: |
|
List of owners of the application to register in Azure AD (email addresses) Default: |
|
Setting this to true will force all traffic to go through the VPN Default: |
|
Whether to use the OpenVPN server as DNS server. If set to ‘true’, the clients will receive the configuration to use the OpenVPN server as DNS server. This provides the ability to resolve internal Azure resources. Choices:
|
|
List of users of the application to register in Azure AD (email addresses) Default: |
|
Name of the VM to deploy Default: |
|
Size of the VM to deploy (Azure VM size) Default: |