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

Instead of sudo/sudo_user, use become/become_user #15

Open
joebew42 opened this issue Aug 5, 2017 · 0 comments
Open

Instead of sudo/sudo_user, use become/become_user #15

joebew42 opened this issue Aug 5, 2017 · 0 comments
Assignees

Comments

@joebew42
Copy link
Contributor

joebew42 commented Aug 5, 2017

A deprecation warning when trying to execute the playbook:

ansible-playbook playbooks/main.yml -i 'myhost,' -u vagrant --private-key ~/.vagrant.d/insecure_private_key -vvvv

Warning message:

[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default).

This feature will be removed in a future release. Deprecation warnings can be disabled by setting 
deprecation_warnings=False in ansible.cfg.
@joebew42 joebew42 self-assigned this Aug 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant