{"action":"created","comment":{"url":"https://api.github.com/repos/Stanford-Online/configuration/pulls/comments/187138817","pull_request_review_id":118524987,"id":187138817,"diff_hunk":"@@ -1,16 +1,39 @@\n-- name: Deploy Analytics Insights\n-  hosts: ~tag_Name_{{ machine }}_{{ env }}\n-  become: True\n+#!/usr/bin/env ansible-playbook\n+---\n+- include: ../playbooks/cluster.yml\n+  vars:\n+    CLUSTER_NAME: insights\n+  when: redeploy | default(False) | bool\n+\n+- name: Deploy insights service\n+  hosts: \"tag_Cluster_{{ CLUSTER_NAME }}:&tag_todo_deploy:&tag_Deployment_{{ COMMON_DEPLOYMENT }}:&tag_Number_{{ CLUSTER_NUMBER }}\"\n   gather_facts: True\n-  vars_files:\n-    - \"{{ COMMON_DEPLOYMENT_DIR }}/insights.yml\"\n+  become: True\n   vars:\n-    COMMON_ENABLE_DATADOG: False\n-    COMMON_ENABLE_SPLUNKFORWARDER: False\n+    CLUSTER_NAME: insights\n+    migrate_db: \"yes\"\n+    disable_edx_services: false\n+    ENABLE_DATADOG: False\n+    ENABLE_SPLUNKFORWARDER: False\n+    ENABLE_NEWRELIC: False","path":"stanford/playbooks/insights.yml","position":25,"original_position":25,"commit_id":"23419248fdb28f7c22fbaa4889074fce7c63397a","original_commit_id":"23419248fdb28f7c22fbaa4889074fce7c63397a","user":{"login":"stvstnfrd","id":7300975,"avatar_url":"https://avatars0.githubusercontent.com/u/7300975?v=4","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":"These three `ENABLE_*` variables already default to `False`, so we should omit them here.","created_at":"2018-05-09T18:45:46Z","updated_at":"2018-05-09T18:50:16Z","html_url":"https://github.com/Stanford-Online/configuration/pull/252#discussion_r187138817","pull_request_url":"https://api.github.com/repos/Stanford-Online/configuration/pulls/252","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Stanford-Online/configuration/pulls/comments/187138817"},"html":{"href":"https://github.com/Stanford-Online/configuration/pull/252#discussion_r187138817"},"pull_request":{"href":"https://api.github.com/repos/Stanford-Online/configuration/pulls/252"}}},"pull_request":{"url":"https://api.github.com/repos/Stanford-Online/configuration/pulls/252","id":186713873,"html_url":"https://github.com/Stanford-Online/configuration/pull/252","diff_url":"https://github.com/Stanford-Online/configuration/pull/252.diff","patch_url":"https://github.com/Stanford-Online/configuration/pull/252.patch","issue_url":"https://api.github.com/repos/Stanford-Online/configuration/issues/252","number":252,"state":"open","locked":false,"title":"Insights playbook.","user":{"login":"dcadams","id":1840555,"avatar_url":"https://avatars3.githubusercontent.com/u/1840555?v=4","gravatar_id":"","url":"https://api.github.com/users/dcadams","html_url":"https://github.com/dcadams","followers_url":"https://api.github.com/users/dcadams/followers","following_url":"https://api.github.com/users/dcadams/following{/other_user}","gists_url":"https://api.github.com/users/dcadams/gists{/gist_id}","starred_url":"https://api.github.com/users/dcadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcadams/subscriptions","organizations_url":"https://api.github.com/users/dcadams/orgs","repos_url":"https://api.github.com/users/dcadams/repos","events_url":"https://api.github.com/users/dcadams/events{/privacy}","received_events_url":"https://api.github.com/users/dcadams/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-08T18:12:34Z","updated_at":"2018-05-09T18:50:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a01609a8dd553e9a70807973d3791f3185bc7ba5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Stanford-Online/configuration/pulls/252/commits","review_comments_url":"https://api.github.com/repos/Stanford-Online/configuration/pulls/252/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/252/comments","statuses_url":"https://api.github.com/repos/Stanford-Online/configuration/statuses/23419248fdb28f7c22fbaa4889074fce7c63397a","head":{"label":"Stanford-Online:dcadams/insights_play","ref":"dcadams/insights_play","sha":"23419248fdb28f7c22fbaa4889074fce7c63397a","user":{"login":"Stanford-Online","id":2159497,"avatar_url":"https://avatars3.githubusercontent.com/u/2159497?v=4","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://avatars3.githubusercontent.com/u/2159497?v=4","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":"2018-05-07T18:36:54Z","pushed_at":"2018-05-09T18:17:08Z","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":13175,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":8,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"Stanford-Online:master","ref":"master","sha":"95ecaa2ed99016284c0d72ca0df0ac147b3c28fa","user":{"login":"Stanford-Online","id":2159497,"avatar_url":"https://avatars3.githubusercontent.com/u/2159497?v=4","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://avatars3.githubusercontent.com/u/2159497?v=4","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":"2018-05-07T18:36:54Z","pushed_at":"2018-05-09T18:17:08Z","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":13175,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":8,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Stanford-Online/configuration/pulls/252"},"html":{"href":"https://github.com/Stanford-Online/configuration/pull/252"},"issue":{"href":"https://api.github.com/repos/Stanford-Online/configuration/issues/252"},"comments":{"href":"https://api.github.com/repos/Stanford-Online/configuration/issues/252/comments"},"review_comments":{"href":"https://api.github.com/repos/Stanford-Online/configuration/pulls/252/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/252/commits"},"statuses":{"href":"https://api.github.com/repos/Stanford-Online/configuration/statuses/23419248fdb28f7c22fbaa4889074fce7c63397a"}},"author_association":"OWNER"}}
{"actor":{"display_login":"stvstnfrd"}}