{"action":"created","comment":{"url":"https://api.github.com/repos/roots/bedrock-ansible/pulls/comments/26942606","id":26942606,"diff_hunk":"@@ -1,5 +1,3 @@\n deploy_user: deploy\n deploy_group: deploy\n deploy_groups: www-data","path":"roles/users/defaults/main.yml","position":3,"original_position":3,"commit_id":"254ba7c15e71d6b6a9d2d28a0d24fc47b9e3c6c3","original_commit_id":"254ba7c15e71d6b6a9d2d28a0d24fc47b9e3c6c3","user":{"login":"fullyint","id":7338513,"avatar_url":"https://avatars.githubusercontent.com/u/7338513?v=3","gravatar_id":"","url":"https://api.github.com/users/fullyint","html_url":"https://github.com/fullyint","followers_url":"https://api.github.com/users/fullyint/followers","following_url":"https://api.github.com/users/fullyint/following{/other_user}","gists_url":"https://api.github.com/users/fullyint/gists{/gist_id}","starred_url":"https://api.github.com/users/fullyint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullyint/subscriptions","organizations_url":"https://api.github.com/users/fullyint/orgs","repos_url":"https://api.github.com/users/fullyint/repos","events_url":"https://api.github.com/users/fullyint/events{/privacy}","received_events_url":"https://api.github.com/users/fullyint/received_events","type":"User","site_admin":false},"body":"If `deploy_user` etc. are defined in `group_vars/all`, could you remove `roles/users/defaults/main.yml`?","created_at":"2015-03-23T14:47:30Z","updated_at":"2015-03-23T14:47:30Z","html_url":"https://github.com/roots/bedrock-ansible/pull/95#discussion_r26942606","pull_request_url":"https://api.github.com/repos/roots/bedrock-ansible/pulls/95","_links":{"self":{"href":"https://api.github.com/repos/roots/bedrock-ansible/pulls/comments/26942606"},"html":{"href":"https://github.com/roots/bedrock-ansible/pull/95#discussion_r26942606"},"pull_request":{"href":"https://api.github.com/repos/roots/bedrock-ansible/pulls/95"}}},"pull_request":{"url":"https://api.github.com/repos/roots/bedrock-ansible/pulls/95","id":24498144,"html_url":"https://github.com/roots/bedrock-ansible/pull/95","diff_url":"https://github.com/roots/bedrock-ansible/pull/95.diff","patch_url":"https://github.com/roots/bedrock-ansible/pull/95.patch","issue_url":"https://api.github.com/repos/roots/bedrock-ansible/issues/95","number":95,"state":"open","locked":false,"title":"[WIP] Ansible based site deploys","user":{"login":"swalkinshaw","id":295605,"avatar_url":"https://avatars.githubusercontent.com/u/295605?v=3","gravatar_id":"","url":"https://api.github.com/users/swalkinshaw","html_url":"https://github.com/swalkinshaw","followers_url":"https://api.github.com/users/swalkinshaw/followers","following_url":"https://api.github.com/users/swalkinshaw/following{/other_user}","gists_url":"https://api.github.com/users/swalkinshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/swalkinshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swalkinshaw/subscriptions","organizations_url":"https://api.github.com/users/swalkinshaw/orgs","repos_url":"https://api.github.com/users/swalkinshaw/repos","events_url":"https://api.github.com/users/swalkinshaw/events{/privacy}","received_events_url":"https://api.github.com/users/swalkinshaw/received_events","type":"User","site_admin":false},"body":"This is a work in-progress to deploy sites with Ansible instead of Capistrano through Bedrock itself. The main benefits are:\r\n\r\n1. Removes Ruby requirements\r\n2. Ansible can run the deploy itself easily\r\n3. Re-using hosts/settings from Ansible configs\r\n\r\nTodo:\r\n\r\n- [ ] `README`/docs update\r\n- [x] Improve separation of `wordpress-sites` role\r\n- [x] Figure out `.env` generation. Create on provision + on each deploy\r\n- [x] Figure out workflow for installing remote WP sites after deploys","created_at":"2014-11-16T05:00:26Z","updated_at":"2015-03-23T14:47:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a14db85c6a7bea99aee83a4a67e6d225f5379dba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/roots/bedrock-ansible/pulls/95/commits","review_comments_url":"https://api.github.com/repos/roots/bedrock-ansible/pulls/95/comments","review_comment_url":"https://api.github.com/repos/roots/bedrock-ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/roots/bedrock-ansible/issues/95/comments","statuses_url":"https://api.github.com/repos/roots/bedrock-ansible/statuses/254ba7c15e71d6b6a9d2d28a0d24fc47b9e3c6c3","head":{"label":"roots:deploys","ref":"deploys","sha":"254ba7c15e71d6b6a9d2d28a0d24fc47b9e3c6c3","user":{"login":"roots","id":4986074,"avatar_url":"https://avatars.githubusercontent.com/u/4986074?v=3","gravatar_id":"","url":"https://api.github.com/users/roots","html_url":"https://github.com/roots","followers_url":"https://api.github.com/users/roots/followers","following_url":"https://api.github.com/users/roots/following{/other_user}","gists_url":"https://api.github.com/users/roots/gists{/gist_id}","starred_url":"https://api.github.com/users/roots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roots/subscriptions","organizations_url":"https://api.github.com/users/roots/orgs","repos_url":"https://api.github.com/users/roots/repos","events_url":"https://api.github.com/users/roots/events{/privacy}","received_events_url":"https://api.github.com/users/roots/received_events","type":"Organization","site_admin":false},"repo":{"id":18852165,"name":"bedrock-ansible","full_name":"roots/bedrock-ansible","owner":{"login":"roots","id":4986074,"avatar_url":"https://avatars.githubusercontent.com/u/4986074?v=3","gravatar_id":"","url":"https://api.github.com/users/roots","html_url":"https://github.com/roots","followers_url":"https://api.github.com/users/roots/followers","following_url":"https://api.github.com/users/roots/following{/other_user}","gists_url":"https://api.github.com/users/roots/gists{/gist_id}","starred_url":"https://api.github.com/users/roots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roots/subscriptions","organizations_url":"https://api.github.com/users/roots/orgs","repos_url":"https://api.github.com/users/roots/repos","events_url":"https://api.github.com/users/roots/events{/privacy}","received_events_url":"https://api.github.com/users/roots/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/roots/bedrock-ansible","description":"Ansible playbooks for a Bedrock based WordPress LEMP app server","fork":false,"url":"https://api.github.com/repos/roots/bedrock-ansible","forks_url":"https://api.github.com/repos/roots/bedrock-ansible/forks","keys_url":"https://api.github.com/repos/roots/bedrock-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/roots/bedrock-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/roots/bedrock-ansible/teams","hooks_url":"https://api.github.com/repos/roots/bedrock-ansible/hooks","issue_events_url":"https://api.github.com/repos/roots/bedrock-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/roots/bedrock-ansible/events","assignees_url":"https://api.github.com/repos/roots/bedrock-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/roots/bedrock-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/roots/bedrock-ansible/tags","blobs_url":"https://api.github.com/repos/roots/bedrock-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/roots/bedrock-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/roots/bedrock-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/roots/bedrock-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/roots/bedrock-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/roots/bedrock-ansible/languages","stargazers_url":"https://api.github.com/repos/roots/bedrock-ansible/stargazers","contributors_url":"https://api.github.com/repos/roots/bedrock-ansible/contributors","subscribers_url":"https://api.github.com/repos/roots/bedrock-ansible/subscribers","subscription_url":"https://api.github.com/repos/roots/bedrock-ansible/subscription","commits_url":"https://api.github.com/repos/roots/bedrock-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/roots/bedrock-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/roots/bedrock-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/roots/bedrock-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/roots/bedrock-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/roots/bedrock-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/roots/bedrock-ansible/merges","archive_url":"https://api.github.com/repos/roots/bedrock-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/roots/bedrock-ansible/downloads","issues_url":"https://api.github.com/repos/roots/bedrock-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/roots/bedrock-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/roots/bedrock-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/roots/bedrock-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/roots/bedrock-ansible/labels{/name}","releases_url":"https://api.github.com/repos/roots/bedrock-ansible/releases{/id}","created_at":"2014-04-16T19:08:33Z","updated_at":"2015-03-23T08:48:59Z","pushed_at":"2015-03-23T14:04:31Z","git_url":"git://github.com/roots/bedrock-ansible.git","ssh_url":"git@github.com:roots/bedrock-ansible.git","clone_url":"https://github.com/roots/bedrock-ansible.git","svn_url":"https://github.com/roots/bedrock-ansible","homepage":"https://roots.io/bedrock/","size":1375,"stargazers_count":182,"watchers_count":182,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":73,"mirror_url":null,"open_issues_count":23,"forks":73,"open_issues":23,"watchers":182,"default_branch":"master"}},"base":{"label":"roots:master","ref":"master","sha":"2b24268c615adf9a7733ae6311ae7252e01f35a7","user":{"login":"roots","id":4986074,"avatar_url":"https://avatars.githubusercontent.com/u/4986074?v=3","gravatar_id":"","url":"https://api.github.com/users/roots","html_url":"https://github.com/roots","followers_url":"https://api.github.com/users/roots/followers","following_url":"https://api.github.com/users/roots/following{/other_user}","gists_url":"https://api.github.com/users/roots/gists{/gist_id}","starred_url":"https://api.github.com/users/roots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roots/subscriptions","organizations_url":"https://api.github.com/users/roots/orgs","repos_url":"https://api.github.com/users/roots/repos","events_url":"https://api.github.com/users/roots/events{/privacy}","received_events_url":"https://api.github.com/users/roots/received_events","type":"Organization","site_admin":false},"repo":{"id":18852165,"name":"bedrock-ansible","full_name":"roots/bedrock-ansible","owner":{"login":"roots","id":4986074,"avatar_url":"https://avatars.githubusercontent.com/u/4986074?v=3","gravatar_id":"","url":"https://api.github.com/users/roots","html_url":"https://github.com/roots","followers_url":"https://api.github.com/users/roots/followers","following_url":"https://api.github.com/users/roots/following{/other_user}","gists_url":"https://api.github.com/users/roots/gists{/gist_id}","starred_url":"https://api.github.com/users/roots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roots/subscriptions","organizations_url":"https://api.github.com/users/roots/orgs","repos_url":"https://api.github.com/users/roots/repos","events_url":"https://api.github.com/users/roots/events{/privacy}","received_events_url":"https://api.github.com/users/roots/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/roots/bedrock-ansible","description":"Ansible playbooks for a Bedrock based WordPress LEMP app server","fork":false,"url":"https://api.github.com/repos/roots/bedrock-ansible","forks_url":"https://api.github.com/repos/roots/bedrock-ansible/forks","keys_url":"https://api.github.com/repos/roots/bedrock-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/roots/bedrock-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/roots/bedrock-ansible/teams","hooks_url":"https://api.github.com/repos/roots/bedrock-ansible/hooks","issue_events_url":"https://api.github.com/repos/roots/bedrock-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/roots/bedrock-ansible/events","assignees_url":"https://api.github.com/repos/roots/bedrock-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/roots/bedrock-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/roots/bedrock-ansible/tags","blobs_url":"https://api.github.com/repos/roots/bedrock-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/roots/bedrock-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/roots/bedrock-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/roots/bedrock-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/roots/bedrock-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/roots/bedrock-ansible/languages","stargazers_url":"https://api.github.com/repos/roots/bedrock-ansible/stargazers","contributors_url":"https://api.github.com/repos/roots/bedrock-ansible/contributors","subscribers_url":"https://api.github.com/repos/roots/bedrock-ansible/subscribers","subscription_url":"https://api.github.com/repos/roots/bedrock-ansible/subscription","commits_url":"https://api.github.com/repos/roots/bedrock-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/roots/bedrock-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/roots/bedrock-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/roots/bedrock-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/roots/bedrock-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/roots/bedrock-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/roots/bedrock-ansible/merges","archive_url":"https://api.github.com/repos/roots/bedrock-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/roots/bedrock-ansible/downloads","issues_url":"https://api.github.com/repos/roots/bedrock-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/roots/bedrock-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/roots/bedrock-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/roots/bedrock-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/roots/bedrock-ansible/labels{/name}","releases_url":"https://api.github.com/repos/roots/bedrock-ansible/releases{/id}","created_at":"2014-04-16T19:08:33Z","updated_at":"2015-03-23T08:48:59Z","pushed_at":"2015-03-23T14:04:31Z","git_url":"git://github.com/roots/bedrock-ansible.git","ssh_url":"git@github.com:roots/bedrock-ansible.git","clone_url":"https://github.com/roots/bedrock-ansible.git","svn_url":"https://github.com/roots/bedrock-ansible","homepage":"https://roots.io/bedrock/","size":1375,"stargazers_count":182,"watchers_count":182,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":73,"mirror_url":null,"open_issues_count":23,"forks":73,"open_issues":23,"watchers":182,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/roots/bedrock-ansible/pulls/95"},"html":{"href":"https://github.com/roots/bedrock-ansible/pull/95"},"issue":{"href":"https://api.github.com/repos/roots/bedrock-ansible/issues/95"},"comments":{"href":"https://api.github.com/repos/roots/bedrock-ansible/issues/95/comments"},"review_comments":{"href":"https://api.github.com/repos/roots/bedrock-ansible/pulls/95/comments"},"review_comment":{"href":"https://api.github.com/repos/roots/bedrock-ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/roots/bedrock-ansible/pulls/95/commits"},"statuses":{"href":"https://api.github.com/repos/roots/bedrock-ansible/statuses/254ba7c15e71d6b6a9d2d28a0d24fc47b9e3c6c3"}}}}