{"action":"opened","issue":{"url":"https://api.github.com/repos/curationexperts/ansible-hydra/issues/41","labels_url":"https://api.github.com/repos/curationexperts/ansible-hydra/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/curationexperts/ansible-hydra/issues/41/comments","events_url":"https://api.github.com/repos/curationexperts/ansible-hydra/issues/41/events","html_url":"https://github.com/curationexperts/ansible-hydra/issues/41","id":120235413,"number":41,"title":"Refactor to use become instead of sudo","user":{"login":"acozine","id":879121,"avatar_url":"https://avatars.githubusercontent.com/u/879121?v=3","gravatar_id":"","url":"https://api.github.com/users/acozine","html_url":"https://github.com/acozine","followers_url":"https://api.github.com/users/acozine/followers","following_url":"https://api.github.com/users/acozine/following{/other_user}","gists_url":"https://api.github.com/users/acozine/gists{/gist_id}","starred_url":"https://api.github.com/users/acozine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acozine/subscriptions","organizations_url":"https://api.github.com/users/acozine/orgs","repos_url":"https://api.github.com/users/acozine/repos","events_url":"https://api.github.com/users/acozine/events{/privacy}","received_events_url":"https://api.github.com/users/acozine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-03T18:15:01Z","updated_at":"2015-12-03T18:15:01Z","closed_at":null,"body":"Sudo is deprecated already. Refactor to use become throughout the roles.\r\n\r\nAlso, consider which roles if any should run with elevated privileges for all tasks. \r\n* Advantage of making the entire role run with elevated privileges - code is DRYer. \r\n* Disadvantage of this approach - may be confusing when looking at the task list, may lead to new tasks running with elevated privileges when they should not, makes debugging by recreating each task at the command line trickier (the tasks themselves don't show that they are being run / need to be run as root). \r\n\r\nThoughts @hackmastera?"}}