cisagov / ansible-role-openvpn

Ansible role to install an OpenVPN server and configure it to authenticate users certificates against FreeIPA.
Creative Commons Zero v1.0 Universal
8 stars 2 forks source link

Move constants out of verify-cn script to a config file. #9

Closed felddy closed 4 years ago

felddy commented 4 years ago

๐Ÿ—ฃ Description

This changes the constants to configuration file variables in the script used to query LDAP. There will be a sister PR in the Terraform module to create the configuration file at boot with cloudinit.

Closes #3

๐Ÿ’ญ Motivation and Context

This makes the server more configurable. Hard coding COOL values is not a best-practice.

๐Ÿงช Testing

Code tested in production with great success.

๐Ÿ“ท Screenshots (if appropriate)

๐Ÿšฅ Types of Changes

โœ… Checklist