-
Notifications
You must be signed in to change notification settings - Fork 156
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
The module does not work with ansible install via apt #55
Comments
Yes on Xenial:
|
Two possible solutions:
|
For now, the work around is going to have to be use pip to install ansible on ubuntu |
Otherwise, the pip installation method is quite satisfactory. Thanks for this module ! |
I had success using the following command after installing hashivault via pip: |
The main problem is default ansible python module location. In my opinion it's huge problem and it must be resolved inside module. By the way, we can quickly hack it this using symlinks:
@TerryHowe could you please confirm it will be fixed soon even I will made it for community. It's official module and I think it may be done asap. UPD: one more option:
|
Related ansible/ansible#46004 |
I have the same problem under Centos 7 with ansible-playbook:
The version was installed via yum, and is:
|
If you install the module as a normal user, the For example, on Debian 11, you would do: export ANSIBLE_LIBRARY="${HOME}/.local/lib/python3.8/site-packages/ansible/modules"
export ANSIBLE_MODULE_UTILS="${HOME}/.local/lib/python3.8/site-packages/ansible/module_utils" Not sure what the distinction between You can also put these into your ansible.cfg. The settings are called |
Hi,
Module does not work on servers or ansible was installed directly via apt and not pip
OS: Ubuntu 16.04 x64 update to date
Exemple
Exemple: test.yml
The same playbook on a server with Ansible install via pip
The text was updated successfully, but these errors were encountered: