Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default openvpn_use_pam_plugin_distribution variable for Ubuntu #45

Open
Friz-zy opened this issue Aug 31, 2016 · 2 comments
Open

Default openvpn_use_pam_plugin_distribution variable for Ubuntu #45

Friz-zy opened this issue Aug 31, 2016 · 2 comments

Comments

@Friz-zy
Copy link

Friz-zy commented Aug 31, 2016

I got a problem with ansible-playbook 2.0.0.2:
looks like it didn't recognize ubuntu trusty and use default value, that produced this error

PLUGIN_INIT: could not load plugin shared object /usr/lib/openvpn/openvpn-auth-pam.so: /usr/lib/openvpn/openvpn-auth-pam.so: cannot open shared object file: No such file or directory

Today most of all servers use ubuntu >= 14.04, it may be worth to change default variable into new path and leave additional files for previous or add checking that file exists?

@ksylvan
Copy link

ksylvan commented Apr 10, 2017

I also support making the default Ubuntu configuration be the one that works for the modern variants, with the exceptions (specified by those variable files) being the older variants.

@megakoresh
Copy link

Yeah, hit this one too. I had to do add this to post_tasks to make it work:

- name: Fix broken library link
  file:
    src: /usr/lib/x86_64-linux-gnu/openvpn/plugins/openvpn-plugin-auth-pam.so
    dest: /usr/lib/openvpn/openvpn-auth-pam.so
    state: link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants