Giter VIP home page Giter VIP logo

ansible-role-openvpn's Issues

Failures on debian based systems

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.