There is my sample mini devops openvpn server project. It contains ansible and terraform code.
The project consist with two main parts.
The first part is terrafrom code. I run it like this one:
$ terraform apply -auto-approve -var-file="secret.tfvars"
The second part is ansible only. I need it to gen an ovpn clt cert.
$ ansible-playbook -e "client_name=user9 [email protected]" playbook.yml