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

Switch from "sudo: yes" to "become: true" #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Switch from "sudo: yes" to "become: true" #6

wants to merge 2 commits into from

Conversation

matro
Copy link

@matro matro commented Sep 2, 2016

This fixes [ANSIBLE0008] deprecated sudo feature linting warnings and makes plays use Ansible's current privilege-escalation mechanism.

https://docs.ansible.com/ansible/become.html

Matt Pearson added 2 commits September 2, 2016 13:23
This fixes `[ANSIBLE0008] deprecated sudo feature` warnings and
makes plays use Ansible's current privilege-escalation mechanism.

https://docs.ansible.com/ansible/become.html
@matro
Copy link
Author

matro commented Sep 2, 2016

I think this would also need to bump the minimum Ansible version to at least 1.9, if not 2.0. Ansible's docs say sudo: yes will continue to work for some time, so this might not be a desirable change yet.

@pmbauer
Copy link
Owner

pmbauer commented Dec 28, 2016

Thanks; I'm going to leave this open for now as I'd like to keep the role ansible 1.9-compatible for a short while yet.

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

Successfully merging this pull request may close these issues.

2 participants