{"action":"created","comment":{"url":"https://api.github.com/repos/evolution/wordpress/pulls/comments/29180988","id":29180988,"diff_hunk":"@@ -9,8 +9,12 @@\n   when:           has_vagrant.stdout\n   sudo:           yes\n \n+- name:           Create deploy group\n+  group:          name=deploy state=present system=no\n+  sudo:           yes\n+\n - name:           Create deploy user\n-  user:           name=deploy append=yes groups=www-data shell=/bin/bash comment=\"Created by Evolution WordPress\"\n+  user:           name=deploy append=yes group=deploy groups=www-data shell=/bin/bash comment=\"Created by Evolution WordPress\"","path":"lib/ansible/roles/user/tasks/main.yml","position":10,"original_position":10,"commit_id":"881b457359feb2a4dbfc6d00b922bda967fb1942","original_commit_id":"881b457359feb2a4dbfc6d00b922bda967fb1942","user":{"login":"ericclemmons","id":15182,"avatar_url":"https://avatars.githubusercontent.com/u/15182?v=3","gravatar_id":"","url":"https://api.github.com/users/ericclemmons","html_url":"https://github.com/ericclemmons","followers_url":"https://api.github.com/users/ericclemmons/followers","following_url":"https://api.github.com/users/ericclemmons/following{/other_user}","gists_url":"https://api.github.com/users/ericclemmons/gists{/gist_id}","starred_url":"https://api.github.com/users/ericclemmons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericclemmons/subscriptions","organizations_url":"https://api.github.com/users/ericclemmons/orgs","repos_url":"https://api.github.com/users/ericclemmons/repos","events_url":"https://api.github.com/users/ericclemmons/events{/privacy}","received_events_url":"https://api.github.com/users/ericclemmons/received_events","type":"User","site_admin":false},"body":"Whoops, ignore.  I forgot that you can have multiple `group` declarations! O_o","created_at":"2015-04-27T19:21:53Z","updated_at":"2015-04-27T19:21:53Z","html_url":"https://github.com/evolution/wordpress/pull/44#discussion_r29180988","pull_request_url":"https://api.github.com/repos/evolution/wordpress/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/evolution/wordpress/pulls/comments/29180988"},"html":{"href":"https://github.com/evolution/wordpress/pull/44#discussion_r29180988"},"pull_request":{"href":"https://api.github.com/repos/evolution/wordpress/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/evolution/wordpress/pulls/44","id":34200422,"html_url":"https://github.com/evolution/wordpress/pull/44","diff_url":"https://github.com/evolution/wordpress/pull/44.diff","patch_url":"https://github.com/evolution/wordpress/pull/44.patch","issue_url":"https://api.github.com/repos/evolution/wordpress/issues/44","number":44,"state":"open","locked":false,"title":"[RFC] Retooled provisioning","user":{"login":"EvanK","id":84145,"avatar_url":"https://avatars.githubusercontent.com/u/84145?v=3","gravatar_id":"","url":"https://api.github.com/users/EvanK","html_url":"https://github.com/EvanK","followers_url":"https://api.github.com/users/EvanK/followers","following_url":"https://api.github.com/users/EvanK/following{/other_user}","gists_url":"https://api.github.com/users/EvanK/gists{/gist_id}","starred_url":"https://api.github.com/users/EvanK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvanK/subscriptions","organizations_url":"https://api.github.com/users/EvanK/orgs","repos_url":"https://api.github.com/users/EvanK/repos","events_url":"https://api.github.com/users/EvanK/events{/privacy}","received_events_url":"https://api.github.com/users/EvanK/received_events","type":"User","site_admin":false},"body":"Making use of the [ansible provisioner](http://docs.vagrantup.com/v2/provisioning/ansible.html) in vagrant, rather than bootstrapping it via shell provisioning. Noticeable difference in responsive time, and output is significantly easier to read (yay, colors!)\r\n\r\nTo get the above to work, the `ansible.cfg` file needed to move to the project root, which required some retooling of the cap provision task. While I was in there, I added readable output of _which_ ansible commands are being run.\r\n\r\nI also uncovered an (edge case) deploy user/group bug, and fixed it.\r\n\r\nFinally, removed `bin/provision` since it's not longer necessary","created_at":"2015-04-27T19:15:30Z","updated_at":"2015-04-27T19:21:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ecc0de8ce40f65e2a1c825658275b337b6b634ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/evolution/wordpress/pulls/44/commits","review_comments_url":"https://api.github.com/repos/evolution/wordpress/pulls/44/comments","review_comment_url":"https://api.github.com/repos/evolution/wordpress/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evolution/wordpress/issues/44/comments","statuses_url":"https://api.github.com/repos/evolution/wordpress/statuses/881b457359feb2a4dbfc6d00b922bda967fb1942","head":{"label":"evolution:vagrant-ansible-provisioning","ref":"vagrant-ansible-provisioning","sha":"881b457359feb2a4dbfc6d00b922bda967fb1942","user":{"login":"evolution","id":7934913,"avatar_url":"https://avatars.githubusercontent.com/u/7934913?v=3","gravatar_id":"","url":"https://api.github.com/users/evolution","html_url":"https://github.com/evolution","followers_url":"https://api.github.com/users/evolution/followers","following_url":"https://api.github.com/users/evolution/following{/other_user}","gists_url":"https://api.github.com/users/evolution/gists{/gist_id}","starred_url":"https://api.github.com/users/evolution/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evolution/subscriptions","organizations_url":"https://api.github.com/users/evolution/orgs","repos_url":"https://api.github.com/users/evolution/repos","events_url":"https://api.github.com/users/evolution/events{/privacy}","received_events_url":"https://api.github.com/users/evolution/received_events","type":"Organization","site_admin":false},"repo":{"id":23398306,"name":"wordpress","full_name":"evolution/wordpress","owner":{"login":"evolution","id":7934913,"avatar_url":"https://avatars.githubusercontent.com/u/7934913?v=3","gravatar_id":"","url":"https://api.github.com/users/evolution","html_url":"https://github.com/evolution","followers_url":"https://api.github.com/users/evolution/followers","following_url":"https://api.github.com/users/evolution/following{/other_user}","gists_url":"https://api.github.com/users/evolution/gists{/gist_id}","starred_url":"https://api.github.com/users/evolution/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evolution/subscriptions","organizations_url":"https://api.github.com/users/evolution/orgs","repos_url":"https://api.github.com/users/evolution/repos","events_url":"https://api.github.com/users/evolution/events{/privacy}","received_events_url":"https://api.github.com/users/evolution/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/evolution/wordpress","description":"Rapidly create, develop, & deploy WordPress across multiple environments.","fork":false,"url":"https://api.github.com/repos/evolution/wordpress","forks_url":"https://api.github.com/repos/evolution/wordpress/forks","keys_url":"https://api.github.com/repos/evolution/wordpress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evolution/wordpress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evolution/wordpress/teams","hooks_url":"https://api.github.com/repos/evolution/wordpress/hooks","issue_events_url":"https://api.github.com/repos/evolution/wordpress/issues/events{/number}","events_url":"https://api.github.com/repos/evolution/wordpress/events","assignees_url":"https://api.github.com/repos/evolution/wordpress/assignees{/user}","branches_url":"https://api.github.com/repos/evolution/wordpress/branches{/branch}","tags_url":"https://api.github.com/repos/evolution/wordpress/tags","blobs_url":"https://api.github.com/repos/evolution/wordpress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evolution/wordpress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evolution/wordpress/git/refs{/sha}","trees_url":"https://api.github.com/repos/evolution/wordpress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evolution/wordpress/statuses/{sha}","languages_url":"https://api.github.com/repos/evolution/wordpress/languages","stargazers_url":"https://api.github.com/repos/evolution/wordpress/stargazers","contributors_url":"https://api.github.com/repos/evolution/wordpress/contributors","subscribers_url":"https://api.github.com/repos/evolution/wordpress/subscribers","subscription_url":"https://api.github.com/repos/evolution/wordpress/subscription","commits_url":"https://api.github.com/repos/evolution/wordpress/commits{/sha}","git_commits_url":"https://api.github.com/repos/evolution/wordpress/git/commits{/sha}","comments_url":"https://api.github.com/repos/evolution/wordpress/comments{/number}","issue_comment_url":"https://api.github.com/repos/evolution/wordpress/issues/comments{/number}","contents_url":"https://api.github.com/repos/evolution/wordpress/contents/{+path}","compare_url":"https://api.github.com/repos/evolution/wordpress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evolution/wordpress/merges","archive_url":"https://api.github.com/repos/evolution/wordpress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evolution/wordpress/downloads","issues_url":"https://api.github.com/repos/evolution/wordpress/issues{/number}","pulls_url":"https://api.github.com/repos/evolution/wordpress/pulls{/number}","milestones_url":"https://api.github.com/repos/evolution/wordpress/milestones{/number}","notifications_url":"https://api.github.com/repos/evolution/wordpress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evolution/wordpress/labels{/name}","releases_url":"https://api.github.com/repos/evolution/wordpress/releases{/id}","created_at":"2014-08-27T17:10:26Z","updated_at":"2015-04-26T22:06:47Z","pushed_at":"2015-04-27T19:15:30Z","git_url":"git://github.com/evolution/wordpress.git","ssh_url":"git@github.com:evolution/wordpress.git","clone_url":"https://github.com/evolution/wordpress.git","svn_url":"https://github.com/evolution/wordpress","homepage":null,"size":2856,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":15,"forks":1,"open_issues":15,"watchers":11,"default_branch":"master"}},"base":{"label":"evolution:master","ref":"master","sha":"0774acaca18f9671f35c40a398d5c0b49cd57d7b","user":{"login":"evolution","id":7934913,"avatar_url":"https://avatars.githubusercontent.com/u/7934913?v=3","gravatar_id":"","url":"https://api.github.com/users/evolution","html_url":"https://github.com/evolution","followers_url":"https://api.github.com/users/evolution/followers","following_url":"https://api.github.com/users/evolution/following{/other_user}","gists_url":"https://api.github.com/users/evolution/gists{/gist_id}","starred_url":"https://api.github.com/users/evolution/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evolution/subscriptions","organizations_url":"https://api.github.com/users/evolution/orgs","repos_url":"https://api.github.com/users/evolution/repos","events_url":"https://api.github.com/users/evolution/events{/privacy}","received_events_url":"https://api.github.com/users/evolution/received_events","type":"Organization","site_admin":false},"repo":{"id":23398306,"name":"wordpress","full_name":"evolution/wordpress","owner":{"login":"evolution","id":7934913,"avatar_url":"https://avatars.githubusercontent.com/u/7934913?v=3","gravatar_id":"","url":"https://api.github.com/users/evolution","html_url":"https://github.com/evolution","followers_url":"https://api.github.com/users/evolution/followers","following_url":"https://api.github.com/users/evolution/following{/other_user}","gists_url":"https://api.github.com/users/evolution/gists{/gist_id}","starred_url":"https://api.github.com/users/evolution/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evolution/subscriptions","organizations_url":"https://api.github.com/users/evolution/orgs","repos_url":"https://api.github.com/users/evolution/repos","events_url":"https://api.github.com/users/evolution/events{/privacy}","received_events_url":"https://api.github.com/users/evolution/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/evolution/wordpress","description":"Rapidly create, develop, & deploy WordPress across multiple environments.","fork":false,"url":"https://api.github.com/repos/evolution/wordpress","forks_url":"https://api.github.com/repos/evolution/wordpress/forks","keys_url":"https://api.github.com/repos/evolution/wordpress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evolution/wordpress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evolution/wordpress/teams","hooks_url":"https://api.github.com/repos/evolution/wordpress/hooks","issue_events_url":"https://api.github.com/repos/evolution/wordpress/issues/events{/number}","events_url":"https://api.github.com/repos/evolution/wordpress/events","assignees_url":"https://api.github.com/repos/evolution/wordpress/assignees{/user}","branches_url":"https://api.github.com/repos/evolution/wordpress/branches{/branch}","tags_url":"https://api.github.com/repos/evolution/wordpress/tags","blobs_url":"https://api.github.com/repos/evolution/wordpress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evolution/wordpress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evolution/wordpress/git/refs{/sha}","trees_url":"https://api.github.com/repos/evolution/wordpress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evolution/wordpress/statuses/{sha}","languages_url":"https://api.github.com/repos/evolution/wordpress/languages","stargazers_url":"https://api.github.com/repos/evolution/wordpress/stargazers","contributors_url":"https://api.github.com/repos/evolution/wordpress/contributors","subscribers_url":"https://api.github.com/repos/evolution/wordpress/subscribers","subscription_url":"https://api.github.com/repos/evolution/wordpress/subscription","commits_url":"https://api.github.com/repos/evolution/wordpress/commits{/sha}","git_commits_url":"https://api.github.com/repos/evolution/wordpress/git/commits{/sha}","comments_url":"https://api.github.com/repos/evolution/wordpress/comments{/number}","issue_comment_url":"https://api.github.com/repos/evolution/wordpress/issues/comments{/number}","contents_url":"https://api.github.com/repos/evolution/wordpress/contents/{+path}","compare_url":"https://api.github.com/repos/evolution/wordpress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evolution/wordpress/merges","archive_url":"https://api.github.com/repos/evolution/wordpress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evolution/wordpress/downloads","issues_url":"https://api.github.com/repos/evolution/wordpress/issues{/number}","pulls_url":"https://api.github.com/repos/evolution/wordpress/pulls{/number}","milestones_url":"https://api.github.com/repos/evolution/wordpress/milestones{/number}","notifications_url":"https://api.github.com/repos/evolution/wordpress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evolution/wordpress/labels{/name}","releases_url":"https://api.github.com/repos/evolution/wordpress/releases{/id}","created_at":"2014-08-27T17:10:26Z","updated_at":"2015-04-26T22:06:47Z","pushed_at":"2015-04-27T19:15:30Z","git_url":"git://github.com/evolution/wordpress.git","ssh_url":"git@github.com:evolution/wordpress.git","clone_url":"https://github.com/evolution/wordpress.git","svn_url":"https://github.com/evolution/wordpress","homepage":null,"size":2856,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":15,"forks":1,"open_issues":15,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/evolution/wordpress/pulls/44"},"html":{"href":"https://github.com/evolution/wordpress/pull/44"},"issue":{"href":"https://api.github.com/repos/evolution/wordpress/issues/44"},"comments":{"href":"https://api.github.com/repos/evolution/wordpress/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/evolution/wordpress/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/evolution/wordpress/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evolution/wordpress/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/evolution/wordpress/statuses/881b457359feb2a4dbfc6d00b922bda967fb1942"}}}}