Stouts / Stouts.openvpn

Ansible role to install and configure OpenVPN server
MIT License
287 stars 207 forks source link

support scheme in LDAP server URL #139

Closed exeral closed 4 years ago

exeral commented 4 years ago

makes openvpn_ldap_server variable more configurable.

if openvpn_ldap_server contains a full URI (with a scheme) it will be used as is. otherwise, defaults to ldap://

if openvpn_ldap_server is undefined. the regex search will obviously fail. since other variables of the template aren't checked. I don't do it for openvpn_ldap_server as well.

closes https://github.com/Stouts/Stouts.openvpn/issues/138

nkakouros commented 4 years ago

Seems good! Thanks for your work!