-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Global sudo setting from the ansible.cfg is not read #3447
Comments
Thanks. Just to confirm? Are you setting sudo=True in the config file in addition to also setting sudo_user? |
That is what I tried, but that's not working. I also set it in the playbook that includes all the others, but that doesn't work either. At this moment, the only one working is |
|
Removing Placing But looking further into this, So, when I do specify |
Added a pull request to repair this |
When I try to run a playbook with
and with
sudo_user
inansible.cfg
, thesudo
is not honored.When supplying the
--sudo
commandline option things work as expected.This in version 1.3
The text was updated successfully, but these errors were encountered: