-
Notifications
You must be signed in to change notification settings - Fork 6
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
sudoers modules should reference python3 #2
Comments
Thanks for the feedback. If I do that, then it'll no longer allow those without Also, this module has since been included in the community.general collection (which had better visibility, so has further improvements like rule validation). https://docs.ansible.com/ansible/devel/collections/community/general/sudoers_module.html |
Ah, good to know on both the virtual env bit and inclusion in general. I’ll try using it from there and see it “just works” |
So, can we just remove python executable definition from module? I tested it in my case with python3 host, and it works well. |
Newer distros don't ship with a
python
executable, just apython3
one (Pop!_OS 22.04 is an example). It seems to me thatansible-sudoers/plugins/modules/sudoers.py
Line 1 in b3cf461
The text was updated successfully, but these errors were encountered: