stackhpc / ansible-role-openvpn Goto Github PK
View Code? Open in Web Editor NEWOpenVPN tunnel / mesh role for federated Cluster-as-a-Service
License: Apache License 2.0
OpenVPN tunnel / mesh role for federated Cluster-as-a-Service
License: Apache License 2.0
When tested on a Debian based system, several failures were observed due to no verification that the openvpn
group exists:
TASK [openvpn : Ensure OpenVPN Easy-RSA directory exists] **************************************************************************************************************
fatal: [3.132.87.227]: FAILED! => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "msg": "chgrp failed: failed to look up group openvpn", "owner": "root", "path": "/etc/openvpn/easy-rsa", "size": 4096, "state": "directory", "uid": 0}
It looks like there is no openvpn group utilized in Debian and the directory/file ownership is set to root:root
When changing the ownership to root:root in the file modules used in tasks/server.yml
, the task completed successfully.
I not sharp enough with openvpn to know a definite best fix: You could create the group and modify Debian installations of openvpn to run under those permissions, more simple, or just fork the logic so that it sets the permissions of the openvpn/easy-rsa directories to root:root if Ansible detects it's a Debian based system (I know this works)
The service fails due to the runas portion of the config:
user nobody
group nobody
Debian systems, although some variance, tend to use:
user nobody
group nogroup
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.