{"action":"created","comment":{"url":"https://api.github.com/repos/Stanford-Online/configuration/pulls/comments/58181340","id":58181340,"diff_hunk":"@@ -1,13 +0,0 @@\n-[defaults]\n-extra_vars='key=deployment name=edx-stage group=edx-stage region=us-west-1'\n-forks=10\n-host_key_checking = False\n-hostfile=../playbooks/ec2.py\n-jinja2_extensions=jinja2.ext.do\n-log_path=~/stage-ansible.log\n-transport=ssh\n-user=ubuntu\n-\n-[ssh_connection]\n-ssh_args=-F stage-ssh-config -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r","path":"stanford/stage-ansible.cfg","position":12,"original_position":12,"commit_id":"99dc2cc83e3cdedcb550bc7e56e3388662917045","original_commit_id":"99dc2cc83e3cdedcb550bc7e56e3388662917045","user":{"login":"stvstnfrd","id":7300975,"avatar_url":"https://avatars.githubusercontent.com/u/7300975?v=3","gravatar_id":"","url":"https://api.github.com/users/stvstnfrd","html_url":"https://github.com/stvstnfrd","followers_url":"https://api.github.com/users/stvstnfrd/followers","following_url":"https://api.github.com/users/stvstnfrd/following{/other_user}","gists_url":"https://api.github.com/users/stvstnfrd/gists{/gist_id}","starred_url":"https://api.github.com/users/stvstnfrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stvstnfrd/subscriptions","organizations_url":"https://api.github.com/users/stvstnfrd/orgs","repos_url":"https://api.github.com/users/stvstnfrd/repos","events_url":"https://api.github.com/users/stvstnfrd/events{/privacy}","received_events_url":"https://api.github.com/users/stvstnfrd/received_events","type":"User","site_admin":false},"body":"The `-F stage-ssh-config` flag is now conditionally set via our deploy script.\r\nIt currently exists in `stanford-dev`, but should soon be moved to `configuration`.","created_at":"2016-04-01T09:20:10Z","updated_at":"2016-04-01T09:20:10Z","html_url":"https://github.com/Stanford-Online/configuration/pull/77#discussion_r58181340","pull_request_url":"https://api.github.com/repos/Stanford-Online/configuration/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/Stanford-Online/configuration/pulls/comments/58181340"},"html":{"href":"https://github.com/Stanford-Online/configuration/pull/77#discussion_r58181340"},"pull_request":{"href":"https://api.github.com/repos/Stanford-Online/configuration/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/Stanford-Online/configuration/pulls/77","id":64899583,"html_url":"https://github.com/Stanford-Online/configuration/pull/77","diff_url":"https://github.com/Stanford-Online/configuration/pull/77.diff","patch_url":"https://github.com/Stanford-Online/configuration/pull/77.patch","issue_url":"https://api.github.com/repos/Stanford-Online/configuration/issues/77","number":77,"state":"open","locked":false,"title":"WIP: Provision sandbox infrastructure","user":{"login":"stvstnfrd","id":7300975,"avatar_url":"https://avatars.githubusercontent.com/u/7300975?v=3","gravatar_id":"","url":"https://api.github.com/users/stvstnfrd","html_url":"https://github.com/stvstnfrd","followers_url":"https://api.github.com/users/stvstnfrd/followers","following_url":"https://api.github.com/users/stvstnfrd/following{/other_user}","gists_url":"https://api.github.com/users/stvstnfrd/gists{/gist_id}","starred_url":"https://api.github.com/users/stvstnfrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stvstnfrd/subscriptions","organizations_url":"https://api.github.com/users/stvstnfrd/orgs","repos_url":"https://api.github.com/users/stvstnfrd/repos","events_url":"https://api.github.com/users/stvstnfrd/events{/privacy}","received_events_url":"https://api.github.com/users/stvstnfrd/received_events","type":"User","site_admin":false},"body":"## Setup/installation\r\n\r\n```sh\r\nmkvirtualenv configuration\r\nworkon configuration\r\npip install -e ~/src/edx/configuration\r\n```\r\n\r\n## VPC Help\r\n```sh\r\nprovision-sandbox-infrastructure --help\r\n```\r\n\r\n## Create VPC\r\n```sh\r\nprovision-sandbox-infrastructure --action=create \\\r\n    --vpc-cidr-block=10.4.0.0/16 \\\r\n    --subnet-cidr-block=10.4.0.0/24 \\\r\n;\r\nprovision-sandbox-infrastructure --action=create \\\r\n    --vpc-cidr-block=10.4.0.0/16 \\\r\n    --subnet-cidr-block=10.4.0.0/24 \\\r\n    --go\r\n;\r\n```\r\n\r\n## Describe VPC\r\n```sh\r\nprovision-sandbox-infrastructure --action=describe\r\n```\r\n\r\n## Destroy VPC\r\n```sh\r\nprovision-sandbox-infrastructure --action=destroy\r\nprovision-sandbox-infrastructure --action=destroy --go\r\n```\r\n\r\n## Instance Help\r\n```sh\r\nprovision-sandbox --help\r\n```\r\n\r\n## Provision instance\r\n```sh\r\nprovision-sandbox --action=create --instance-name 'myname'\r\nprovision-sandbox --action=create --instance-name 'myname' --go\r\n```\r\n\r\n## Describe Instance\r\n```sh\r\nprovision-sandbox --action=describe --instance-name 'myname'\r\n```\r\n\r\n## Destroy Instance\r\n```sh\r\nprovision-sandbox --action=destroy --instance-name 'myname'\r\nprovision-sandbox --action=destroy --instance-name 'myname' --go\r\n```\r\n\r\n## Create `~/.ssh/config`\r\n```sh\r\nexport-ssh-config --username=${GITHUB_USERNAME} --environment=sandbox\r\n```\r\n\r\n## Misc.\r\nUltimately, this will be squashed down into a single commit; I know how ugly it is now.","created_at":"2016-04-01T06:09:37Z","updated_at":"2016-04-01T09:20:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"414df2ff12350d16b4f9e373a28e6f352a6567ec","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Stanford-Online/configuration/pulls/77/commits","review_comments_url":"https://api.github.com/repos/Stanford-Online/configuration/pulls/77/comments","review_comment_url":"https://api.github.com/repos/Stanford-Online/configuration/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Stanford-Online/configuration/issues/77/comments","statuses_url":"https://api.github.com/repos/Stanford-Online/configuration/statuses/99dc2cc83e3cdedcb550bc7e56e3388662917045","head":{"label":"stvstnfrd:provision-sandbox","ref":"provision-sandbox","sha":"99dc2cc83e3cdedcb550bc7e56e3388662917045","user":{"login":"stvstnfrd","id":7300975,"avatar_url":"https://avatars.githubusercontent.com/u/7300975?v=3","gravatar_id":"","url":"https://api.github.com/users/stvstnfrd","html_url":"https://github.com/stvstnfrd","followers_url":"https://api.github.com/users/stvstnfrd/followers","following_url":"https://api.github.com/users/stvstnfrd/following{/other_user}","gists_url":"https://api.github.com/users/stvstnfrd/gists{/gist_id}","starred_url":"https://api.github.com/users/stvstnfrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stvstnfrd/subscriptions","organizations_url":"https://api.github.com/users/stvstnfrd/orgs","repos_url":"https://api.github.com/users/stvstnfrd/repos","events_url":"https://api.github.com/users/stvstnfrd/events{/privacy}","received_events_url":"https://api.github.com/users/stvstnfrd/received_events","type":"User","site_admin":false},"repo":{"id":30059522,"name":"configuration","full_name":"stvstnfrd/configuration","owner":{"login":"stvstnfrd","id":7300975,"avatar_url":"https://avatars.githubusercontent.com/u/7300975?v=3","gravatar_id":"","url":"https://api.github.com/users/stvstnfrd","html_url":"https://github.com/stvstnfrd","followers_url":"https://api.github.com/users/stvstnfrd/followers","following_url":"https://api.github.com/users/stvstnfrd/following{/other_user}","gists_url":"https://api.github.com/users/stvstnfrd/gists{/gist_id}","starred_url":"https://api.github.com/users/stvstnfrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stvstnfrd/subscriptions","organizations_url":"https://api.github.com/users/stvstnfrd/orgs","repos_url":"https://api.github.com/users/stvstnfrd/repos","events_url":"https://api.github.com/users/stvstnfrd/events{/privacy}","received_events_url":"https://api.github.com/users/stvstnfrd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stvstnfrd/configuration","description":"a simple, but flexible, way for anyone to stand up an instance of the edX platform that is fully configured and ready-to-go","fork":true,"url":"https://api.github.com/repos/stvstnfrd/configuration","forks_url":"https://api.github.com/repos/stvstnfrd/configuration/forks","keys_url":"https://api.github.com/repos/stvstnfrd/configuration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stvstnfrd/configuration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stvstnfrd/configuration/teams","hooks_url":"https://api.github.com/repos/stvstnfrd/configuration/hooks","issue_events_url":"https://api.github.com/repos/stvstnfrd/configuration/issues/events{/number}","events_url":"https://api.github.com/repos/stvstnfrd/configuration/events","assignees_url":"https://api.github.com/repos/stvstnfrd/configuration/assignees{/user}","branches_url":"https://api.github.com/repos/stvstnfrd/configuration/branches{/branch}","tags_url":"https://api.github.com/repos/stvstnfrd/configuration/tags","blobs_url":"https://api.github.com/repos/stvstnfrd/configuration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stvstnfrd/configuration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stvstnfrd/configuration/git/refs{/sha}","trees_url":"https://api.github.com/repos/stvstnfrd/configuration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stvstnfrd/configuration/statuses/{sha}","languages_url":"https://api.github.com/repos/stvstnfrd/configuration/languages","stargazers_url":"https://api.github.com/repos/stvstnfrd/configuration/stargazers","contributors_url":"https://api.github.com/repos/stvstnfrd/configuration/contributors","subscribers_url":"https://api.github.com/repos/stvstnfrd/configuration/subscribers","subscription_url":"https://api.github.com/repos/stvstnfrd/configuration/subscription","commits_url":"https://api.github.com/repos/stvstnfrd/configuration/commits{/sha}","git_commits_url":"https://api.github.com/repos/stvstnfrd/configuration/git/commits{/sha}","comments_url":"https://api.github.com/repos/stvstnfrd/configuration/comments{/number}","issue_comment_url":"https://api.github.com/repos/stvstnfrd/configuration/issues/comments{/number}","contents_url":"https://api.github.com/repos/stvstnfrd/configuration/contents/{+path}","compare_url":"https://api.github.com/repos/stvstnfrd/configuration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stvstnfrd/configuration/merges","archive_url":"https://api.github.com/repos/stvstnfrd/configuration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stvstnfrd/configuration/downloads","issues_url":"https://api.github.com/repos/stvstnfrd/configuration/issues{/number}","pulls_url":"https://api.github.com/repos/stvstnfrd/configuration/pulls{/number}","milestones_url":"https://api.github.com/repos/stvstnfrd/configuration/milestones{/number}","notifications_url":"https://api.github.com/repos/stvstnfrd/configuration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stvstnfrd/configuration/labels{/name}","releases_url":"https://api.github.com/repos/stvstnfrd/configuration/releases{/id}","deployments_url":"https://api.github.com/repos/stvstnfrd/configuration/deployments","created_at":"2015-01-30T06:30:41Z","updated_at":"2016-03-06T19:11:32Z","pushed_at":"2016-04-01T08:45:36Z","git_url":"git://github.com/stvstnfrd/configuration.git","ssh_url":"git@github.com:stvstnfrd/configuration.git","clone_url":"https://github.com/stvstnfrd/configuration.git","svn_url":"https://github.com/stvstnfrd/configuration","homepage":"","size":8639,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"Stanford-Online:master","ref":"master","sha":"19525e8ef6da171e105a94f806d7a06e0a3a2f40","user":{"login":"Stanford-Online","id":2159497,"avatar_url":"https://avatars.githubusercontent.com/u/2159497?v=3","gravatar_id":"","url":"https://api.github.com/users/Stanford-Online","html_url":"https://github.com/Stanford-Online","followers_url":"https://api.github.com/users/Stanford-Online/followers","following_url":"https://api.github.com/users/Stanford-Online/following{/other_user}","gists_url":"https://api.github.com/users/Stanford-Online/gists{/gist_id}","starred_url":"https://api.github.com/users/Stanford-Online/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stanford-Online/subscriptions","organizations_url":"https://api.github.com/users/Stanford-Online/orgs","repos_url":"https://api.github.com/users/Stanford-Online/repos","events_url":"https://api.github.com/users/Stanford-Online/events{/privacy}","received_events_url":"https://api.github.com/users/Stanford-Online/received_events","type":"Organization","site_admin":false},"repo":{"id":20904958,"name":"configuration","full_name":"Stanford-Online/configuration","owner":{"login":"Stanford-Online","id":2159497,"avatar_url":"https://avatars.githubusercontent.com/u/2159497?v=3","gravatar_id":"","url":"https://api.github.com/users/Stanford-Online","html_url":"https://github.com/Stanford-Online","followers_url":"https://api.github.com/users/Stanford-Online/followers","following_url":"https://api.github.com/users/Stanford-Online/following{/other_user}","gists_url":"https://api.github.com/users/Stanford-Online/gists{/gist_id}","starred_url":"https://api.github.com/users/Stanford-Online/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stanford-Online/subscriptions","organizations_url":"https://api.github.com/users/Stanford-Online/orgs","repos_url":"https://api.github.com/users/Stanford-Online/repos","events_url":"https://api.github.com/users/Stanford-Online/events{/privacy}","received_events_url":"https://api.github.com/users/Stanford-Online/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Stanford-Online/configuration","description":"a simple, but flexible, way for anyone to stand up an instance of the edX platform that is fully configured and ready-to-go","fork":true,"url":"https://api.github.com/repos/Stanford-Online/configuration","forks_url":"https://api.github.com/repos/Stanford-Online/configuration/forks","keys_url":"https://api.github.com/repos/Stanford-Online/configuration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Stanford-Online/configuration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Stanford-Online/configuration/teams","hooks_url":"https://api.github.com/repos/Stanford-Online/configuration/hooks","issue_events_url":"https://api.github.com/repos/Stanford-Online/configuration/issues/events{/number}","events_url":"https://api.github.com/repos/Stanford-Online/configuration/events","assignees_url":"https://api.github.com/repos/Stanford-Online/configuration/assignees{/user}","branches_url":"https://api.github.com/repos/Stanford-Online/configuration/branches{/branch}","tags_url":"https://api.github.com/repos/Stanford-Online/configuration/tags","blobs_url":"https://api.github.com/repos/Stanford-Online/configuration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Stanford-Online/configuration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Stanford-Online/configuration/git/refs{/sha}","trees_url":"https://api.github.com/repos/Stanford-Online/configuration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Stanford-Online/configuration/statuses/{sha}","languages_url":"https://api.github.com/repos/Stanford-Online/configuration/languages","stargazers_url":"https://api.github.com/repos/Stanford-Online/configuration/stargazers","contributors_url":"https://api.github.com/repos/Stanford-Online/configuration/contributors","subscribers_url":"https://api.github.com/repos/Stanford-Online/configuration/subscribers","subscription_url":"https://api.github.com/repos/Stanford-Online/configuration/subscription","commits_url":"https://api.github.com/repos/Stanford-Online/configuration/commits{/sha}","git_commits_url":"https://api.github.com/repos/Stanford-Online/configuration/git/commits{/sha}","comments_url":"https://api.github.com/repos/Stanford-Online/configuration/comments{/number}","issue_comment_url":"https://api.github.com/repos/Stanford-Online/configuration/issues/comments{/number}","contents_url":"https://api.github.com/repos/Stanford-Online/configuration/contents/{+path}","compare_url":"https://api.github.com/repos/Stanford-Online/configuration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Stanford-Online/configuration/merges","archive_url":"https://api.github.com/repos/Stanford-Online/configuration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Stanford-Online/configuration/downloads","issues_url":"https://api.github.com/repos/Stanford-Online/configuration/issues{/number}","pulls_url":"https://api.github.com/repos/Stanford-Online/configuration/pulls{/number}","milestones_url":"https://api.github.com/repos/Stanford-Online/configuration/milestones{/number}","notifications_url":"https://api.github.com/repos/Stanford-Online/configuration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Stanford-Online/configuration/labels{/name}","releases_url":"https://api.github.com/repos/Stanford-Online/configuration/releases{/id}","deployments_url":"https://api.github.com/repos/Stanford-Online/configuration/deployments","created_at":"2014-06-17T00:24:26Z","updated_at":"2016-01-13T21:14:11Z","pushed_at":"2016-04-01T08:45:36Z","git_url":"git://github.com/Stanford-Online/configuration.git","ssh_url":"git@github.com:Stanford-Online/configuration.git","clone_url":"https://github.com/Stanford-Online/configuration.git","svn_url":"https://github.com/Stanford-Online/configuration","homepage":"","size":9347,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Stanford-Online/configuration/pulls/77"},"html":{"href":"https://github.com/Stanford-Online/configuration/pull/77"},"issue":{"href":"https://api.github.com/repos/Stanford-Online/configuration/issues/77"},"comments":{"href":"https://api.github.com/repos/Stanford-Online/configuration/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/Stanford-Online/configuration/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/Stanford-Online/configuration/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Stanford-Online/configuration/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/Stanford-Online/configuration/statuses/99dc2cc83e3cdedcb550bc7e56e3388662917045"}}}}