{"action":"created","issue":{"url":"https://api.github.com/repos/jivesoftware/ansible-consul/issues/25","labels_url":"https://api.github.com/repos/jivesoftware/ansible-consul/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/jivesoftware/ansible-consul/issues/25/comments","events_url":"https://api.github.com/repos/jivesoftware/ansible-consul/issues/25/events","html_url":"https://github.com/jivesoftware/ansible-consul/issues/25","id":64606277,"number":25,"title":"How to make consul command available to sudo?","user":{"login":"MrMMorris","id":1494248,"avatar_url":"https://avatars.githubusercontent.com/u/1494248?v=3","gravatar_id":"","url":"https://api.github.com/users/MrMMorris","html_url":"https://github.com/MrMMorris","followers_url":"https://api.github.com/users/MrMMorris/followers","following_url":"https://api.github.com/users/MrMMorris/following{/other_user}","gists_url":"https://api.github.com/users/MrMMorris/gists{/gist_id}","starred_url":"https://api.github.com/users/MrMMorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrMMorris/subscriptions","organizations_url":"https://api.github.com/users/MrMMorris/orgs","repos_url":"https://api.github.com/users/MrMMorris/repos","events_url":"https://api.github.com/users/MrMMorris/events{/privacy}","received_events_url":"https://api.github.com/users/MrMMorris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-26T18:51:01Z","updated_at":"2015-03-26T18:57:26Z","closed_at":null,"body":"I see that there is a task that appends the executable onto $PATH, but if I run `sudu su` and then try and run `consul` I get `consul: command not found`.\r\n\r\nMight be a simple question, but is there a way to make the executable available to sudo without changing the consul user?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/jivesoftware/ansible-consul/issues/comments/86670307","html_url":"https://github.com/jivesoftware/ansible-consul/issues/25#issuecomment-86670307","issue_url":"https://api.github.com/repos/jivesoftware/ansible-consul/issues/25","id":86670307,"user":{"login":"MrMMorris","id":1494248,"avatar_url":"https://avatars.githubusercontent.com/u/1494248?v=3","gravatar_id":"","url":"https://api.github.com/users/MrMMorris","html_url":"https://github.com/MrMMorris","followers_url":"https://api.github.com/users/MrMMorris/followers","following_url":"https://api.github.com/users/MrMMorris/following{/other_user}","gists_url":"https://api.github.com/users/MrMMorris/gists{/gist_id}","starred_url":"https://api.github.com/users/MrMMorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrMMorris/subscriptions","organizations_url":"https://api.github.com/users/MrMMorris/orgs","repos_url":"https://api.github.com/users/MrMMorris/repos","events_url":"https://api.github.com/users/MrMMorris/events{/privacy}","received_events_url":"https://api.github.com/users/MrMMorris/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T18:57:26Z","updated_at":"2015-03-26T18:57:26Z","body":"sorry, I guess I didn't explain very well. I mean, how can I run `consul` cli as root?"}}