{"action":"created","comment":{"url":"https://api.github.com/repos/DavidWittman/ansible-redis/pulls/comments/26998610","id":26998610,"diff_hunk":"@@ -24,6 +24,17 @@\n - name: check if log file exists\n   stat: path={{ redis_logfile }}\n   register: logfile_stat\n+  \n+- name: Redis | Make sure pidfile directory exists and have correct owner\n+  sudo: yes\n+  sudo_user: 'root'","path":"tasks/server.yml","position":7,"original_position":7,"commit_id":"ee06fe25068a00041975543e6464cd7b2cea2e6d","original_commit_id":"ee06fe25068a00041975543e6464cd7b2cea2e6d","user":{"login":"DavidWittman","id":714287,"avatar_url":"https://avatars.githubusercontent.com/u/714287?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidWittman","html_url":"https://github.com/DavidWittman","followers_url":"https://api.github.com/users/DavidWittman/followers","following_url":"https://api.github.com/users/DavidWittman/following{/other_user}","gists_url":"https://api.github.com/users/DavidWittman/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidWittman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidWittman/subscriptions","organizations_url":"https://api.github.com/users/DavidWittman/orgs","repos_url":"https://api.github.com/users/DavidWittman/repos","events_url":"https://api.github.com/users/DavidWittman/events{/privacy}","received_events_url":"https://api.github.com/users/DavidWittman/received_events","type":"User","site_admin":false},"body":"Remove these sudo options from the tasks; they should be set at the playbook level.","created_at":"2015-03-24T02:06:02Z","updated_at":"2015-03-24T02:06:02Z","html_url":"https://github.com/DavidWittman/ansible-redis/pull/55#discussion_r26998610","pull_request_url":"https://api.github.com/repos/DavidWittman/ansible-redis/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/DavidWittman/ansible-redis/pulls/comments/26998610"},"html":{"href":"https://github.com/DavidWittman/ansible-redis/pull/55#discussion_r26998610"},"pull_request":{"href":"https://api.github.com/repos/DavidWittman/ansible-redis/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/DavidWittman/ansible-redis/pulls/55","id":31662600,"html_url":"https://github.com/DavidWittman/ansible-redis/pull/55","diff_url":"https://github.com/DavidWittman/ansible-redis/pull/55.diff","patch_url":"https://github.com/DavidWittman/ansible-redis/pull/55.patch","issue_url":"https://api.github.com/repos/DavidWittman/ansible-redis/issues/55","number":55,"state":"open","locked":false,"title":"Update server.yml","user":{"login":"darthwade","id":2220776,"avatar_url":"https://avatars.githubusercontent.com/u/2220776?v=3","gravatar_id":"","url":"https://api.github.com/users/darthwade","html_url":"https://github.com/darthwade","followers_url":"https://api.github.com/users/darthwade/followers","following_url":"https://api.github.com/users/darthwade/following{/other_user}","gists_url":"https://api.github.com/users/darthwade/gists{/gist_id}","starred_url":"https://api.github.com/users/darthwade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darthwade/subscriptions","organizations_url":"https://api.github.com/users/darthwade/orgs","repos_url":"https://api.github.com/users/darthwade/repos","events_url":"https://api.github.com/users/darthwade/events{/privacy}","received_events_url":"https://api.github.com/users/darthwade/received_events","type":"User","site_admin":false},"body":"Make sure pidfile & logfile directory exists and have correct owner.","created_at":"2015-03-21T00:36:43Z","updated_at":"2015-03-24T02:06:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1031f783beb9f7c1635ecc2cbde548b9a99eb847","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DavidWittman/ansible-redis/pulls/55/commits","review_comments_url":"https://api.github.com/repos/DavidWittman/ansible-redis/pulls/55/comments","review_comment_url":"https://api.github.com/repos/DavidWittman/ansible-redis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DavidWittman/ansible-redis/issues/55/comments","statuses_url":"https://api.github.com/repos/DavidWittman/ansible-redis/statuses/ee06fe25068a00041975543e6464cd7b2cea2e6d","head":{"label":"darthwade:patch-1","ref":"patch-1","sha":"ee06fe25068a00041975543e6464cd7b2cea2e6d","user":{"login":"darthwade","id":2220776,"avatar_url":"https://avatars.githubusercontent.com/u/2220776?v=3","gravatar_id":"","url":"https://api.github.com/users/darthwade","html_url":"https://github.com/darthwade","followers_url":"https://api.github.com/users/darthwade/followers","following_url":"https://api.github.com/users/darthwade/following{/other_user}","gists_url":"https://api.github.com/users/darthwade/gists{/gist_id}","starred_url":"https://api.github.com/users/darthwade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darthwade/subscriptions","organizations_url":"https://api.github.com/users/darthwade/orgs","repos_url":"https://api.github.com/users/darthwade/repos","events_url":"https://api.github.com/users/darthwade/events{/privacy}","received_events_url":"https://api.github.com/users/darthwade/received_events","type":"User","site_admin":false},"repo":{"id":32613962,"name":"ansible-redis","full_name":"darthwade/ansible-redis","owner":{"login":"darthwade","id":2220776,"avatar_url":"https://avatars.githubusercontent.com/u/2220776?v=3","gravatar_id":"","url":"https://api.github.com/users/darthwade","html_url":"https://github.com/darthwade","followers_url":"https://api.github.com/users/darthwade/followers","following_url":"https://api.github.com/users/darthwade/following{/other_user}","gists_url":"https://api.github.com/users/darthwade/gists{/gist_id}","starred_url":"https://api.github.com/users/darthwade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darthwade/subscriptions","organizations_url":"https://api.github.com/users/darthwade/orgs","repos_url":"https://api.github.com/users/darthwade/repos","events_url":"https://api.github.com/users/darthwade/events{/privacy}","received_events_url":"https://api.github.com/users/darthwade/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/darthwade/ansible-redis","description":"Highly-configurable Ansible role to install Redis and Redis Sentinel from source","fork":true,"url":"https://api.github.com/repos/darthwade/ansible-redis","forks_url":"https://api.github.com/repos/darthwade/ansible-redis/forks","keys_url":"https://api.github.com/repos/darthwade/ansible-redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/darthwade/ansible-redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/darthwade/ansible-redis/teams","hooks_url":"https://api.github.com/repos/darthwade/ansible-redis/hooks","issue_events_url":"https://api.github.com/repos/darthwade/ansible-redis/issues/events{/number}","events_url":"https://api.github.com/repos/darthwade/ansible-redis/events","assignees_url":"https://api.github.com/repos/darthwade/ansible-redis/assignees{/user}","branches_url":"https://api.github.com/repos/darthwade/ansible-redis/branches{/branch}","tags_url":"https://api.github.com/repos/darthwade/ansible-redis/tags","blobs_url":"https://api.github.com/repos/darthwade/ansible-redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/darthwade/ansible-redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/darthwade/ansible-redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/darthwade/ansible-redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/darthwade/ansible-redis/statuses/{sha}","languages_url":"https://api.github.com/repos/darthwade/ansible-redis/languages","stargazers_url":"https://api.github.com/repos/darthwade/ansible-redis/stargazers","contributors_url":"https://api.github.com/repos/darthwade/ansible-redis/contributors","subscribers_url":"https://api.github.com/repos/darthwade/ansible-redis/subscribers","subscription_url":"https://api.github.com/repos/darthwade/ansible-redis/subscription","commits_url":"https://api.github.com/repos/darthwade/ansible-redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/darthwade/ansible-redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/darthwade/ansible-redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/darthwade/ansible-redis/issues/comments{/number}","contents_url":"https://api.github.com/repos/darthwade/ansible-redis/contents/{+path}","compare_url":"https://api.github.com/repos/darthwade/ansible-redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/darthwade/ansible-redis/merges","archive_url":"https://api.github.com/repos/darthwade/ansible-redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/darthwade/ansible-redis/downloads","issues_url":"https://api.github.com/repos/darthwade/ansible-redis/issues{/number}","pulls_url":"https://api.github.com/repos/darthwade/ansible-redis/pulls{/number}","milestones_url":"https://api.github.com/repos/darthwade/ansible-redis/milestones{/number}","notifications_url":"https://api.github.com/repos/darthwade/ansible-redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/darthwade/ansible-redis/labels{/name}","releases_url":"https://api.github.com/repos/darthwade/ansible-redis/releases{/id}","created_at":"2015-03-21T00:32:10Z","updated_at":"2015-03-21T00:32:11Z","pushed_at":"2015-03-21T23:05:45Z","git_url":"git://github.com/darthwade/ansible-redis.git","ssh_url":"git@github.com:darthwade/ansible-redis.git","clone_url":"https://github.com/darthwade/ansible-redis.git","svn_url":"https://github.com/darthwade/ansible-redis","homepage":"","size":189,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DavidWittman:master","ref":"master","sha":"f42597ab532a6bc251a84b594297041f4a23a2ec","user":{"login":"DavidWittman","id":714287,"avatar_url":"https://avatars.githubusercontent.com/u/714287?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidWittman","html_url":"https://github.com/DavidWittman","followers_url":"https://api.github.com/users/DavidWittman/followers","following_url":"https://api.github.com/users/DavidWittman/following{/other_user}","gists_url":"https://api.github.com/users/DavidWittman/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidWittman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidWittman/subscriptions","organizations_url":"https://api.github.com/users/DavidWittman/orgs","repos_url":"https://api.github.com/users/DavidWittman/repos","events_url":"https://api.github.com/users/DavidWittman/events{/privacy}","received_events_url":"https://api.github.com/users/DavidWittman/received_events","type":"User","site_admin":false},"repo":{"id":18694239,"name":"ansible-redis","full_name":"DavidWittman/ansible-redis","owner":{"login":"DavidWittman","id":714287,"avatar_url":"https://avatars.githubusercontent.com/u/714287?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidWittman","html_url":"https://github.com/DavidWittman","followers_url":"https://api.github.com/users/DavidWittman/followers","following_url":"https://api.github.com/users/DavidWittman/following{/other_user}","gists_url":"https://api.github.com/users/DavidWittman/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidWittman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidWittman/subscriptions","organizations_url":"https://api.github.com/users/DavidWittman/orgs","repos_url":"https://api.github.com/users/DavidWittman/repos","events_url":"https://api.github.com/users/DavidWittman/events{/privacy}","received_events_url":"https://api.github.com/users/DavidWittman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DavidWittman/ansible-redis","description":"Highly-configurable Ansible role to install Redis and Redis Sentinel from source","fork":false,"url":"https://api.github.com/repos/DavidWittman/ansible-redis","forks_url":"https://api.github.com/repos/DavidWittman/ansible-redis/forks","keys_url":"https://api.github.com/repos/DavidWittman/ansible-redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DavidWittman/ansible-redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DavidWittman/ansible-redis/teams","hooks_url":"https://api.github.com/repos/DavidWittman/ansible-redis/hooks","issue_events_url":"https://api.github.com/repos/DavidWittman/ansible-redis/issues/events{/number}","events_url":"https://api.github.com/repos/DavidWittman/ansible-redis/events","assignees_url":"https://api.github.com/repos/DavidWittman/ansible-redis/assignees{/user}","branches_url":"https://api.github.com/repos/DavidWittman/ansible-redis/branches{/branch}","tags_url":"https://api.github.com/repos/DavidWittman/ansible-redis/tags","blobs_url":"https://api.github.com/repos/DavidWittman/ansible-redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DavidWittman/ansible-redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DavidWittman/ansible-redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/DavidWittman/ansible-redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DavidWittman/ansible-redis/statuses/{sha}","languages_url":"https://api.github.com/repos/DavidWittman/ansible-redis/languages","stargazers_url":"https://api.github.com/repos/DavidWittman/ansible-redis/stargazers","contributors_url":"https://api.github.com/repos/DavidWittman/ansible-redis/contributors","subscribers_url":"https://api.github.com/repos/DavidWittman/ansible-redis/subscribers","subscription_url":"https://api.github.com/repos/DavidWittman/ansible-redis/subscription","commits_url":"https://api.github.com/repos/DavidWittman/ansible-redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/DavidWittman/ansible-redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/DavidWittman/ansible-redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/DavidWittman/ansible-redis/issues/comments{/number}","contents_url":"https://api.github.com/repos/DavidWittman/ansible-redis/contents/{+path}","compare_url":"https://api.github.com/repos/DavidWittman/ansible-redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DavidWittman/ansible-redis/merges","archive_url":"https://api.github.com/repos/DavidWittman/ansible-redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DavidWittman/ansible-redis/downloads","issues_url":"https://api.github.com/repos/DavidWittman/ansible-redis/issues{/number}","pulls_url":"https://api.github.com/repos/DavidWittman/ansible-redis/pulls{/number}","milestones_url":"https://api.github.com/repos/DavidWittman/ansible-redis/milestones{/number}","notifications_url":"https://api.github.com/repos/DavidWittman/ansible-redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DavidWittman/ansible-redis/labels{/name}","releases_url":"https://api.github.com/repos/DavidWittman/ansible-redis/releases{/id}","created_at":"2014-04-12T02:17:59Z","updated_at":"2015-03-21T02:16:10Z","pushed_at":"2015-03-23T23:51:58Z","git_url":"git://github.com/DavidWittman/ansible-redis.git","ssh_url":"git@github.com:DavidWittman/ansible-redis.git","clone_url":"https://github.com/DavidWittman/ansible-redis.git","svn_url":"https://github.com/DavidWittman/ansible-redis","homepage":"","size":816,"stargazers_count":70,"watchers_count":70,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":6,"forks":26,"open_issues":6,"watchers":70,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DavidWittman/ansible-redis/pulls/55"},"html":{"href":"https://github.com/DavidWittman/ansible-redis/pull/55"},"issue":{"href":"https://api.github.com/repos/DavidWittman/ansible-redis/issues/55"},"comments":{"href":"https://api.github.com/repos/DavidWittman/ansible-redis/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/DavidWittman/ansible-redis/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/DavidWittman/ansible-redis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DavidWittman/ansible-redis/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/DavidWittman/ansible-redis/statuses/ee06fe25068a00041975543e6464cd7b2cea2e6d"}}}}