{"action":"created","comment":{"url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls/comments/183488730","pull_request_review_id":114496758,"id":183488730,"diff_hunk":"@@ -0,0 +1,167 @@\n+---\n+# Ansible role for changing paths after a site has been uploaded.\n+# https://github.com/SU-SWS/ansible-playbooks\n+# ==================================================================\n+#\n+# This role runs a number of tasks to transform the database in such a way that\n+# images and absolute paths will work in the new ACSF environment. If any part\n+# of this role fails for a site, restart from the tag \"download-site\".\n+#\n+# INPUTS:\n+#   acsf_site_name\n+#   inventory_hostname\n+#   sitefactory_environment\n+#   drush_environment\n+#   server_alias\n+#   site_prefix\n+#   stack\n+#   server\n+#   dept_site\n+#   wait_time\n+#\n+# OUTPUTS:\n+#   file_public_path\n+#\n+# ALTERNATIVE ROLES:\n+# --\n+#\n+# REQUIREMENTS:\n+# --\n+#\n+# KNOWN ISSUES:\n+# --\n+\n+##############################################################################\n+# Database surgery: Find and replace anything that the user may have entered #\n+# that references the old site.                                              #\n+# See https://stanfordits.atlassian.net/browse/SITES-248 for details.        #\n+##############################################################################\n+\n+- name: Set sites_service variable","path":"roles/change-paths/tasks/main.yml","position":40,"original_position":40,"commit_id":"e91eff6989815650e16f92e5d299f68590ea0399","original_commit_id":"e91eff6989815650e16f92e5d299f68590ea0399","user":{"login":"jbickar","id":821106,"avatar_url":"https://avatars3.githubusercontent.com/u/821106?v=4","gravatar_id":"","url":"https://api.github.com/users/jbickar","html_url":"https://github.com/jbickar","followers_url":"https://api.github.com/users/jbickar/followers","following_url":"https://api.github.com/users/jbickar/following{/other_user}","gists_url":"https://api.github.com/users/jbickar/gists{/gist_id}","starred_url":"https://api.github.com/users/jbickar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbickar/subscriptions","organizations_url":"https://api.github.com/users/jbickar/orgs","repos_url":"https://api.github.com/users/jbickar/repos","events_url":"https://api.github.com/users/jbickar/events{/privacy}","received_events_url":"https://api.github.com/users/jbickar/received_events","type":"User","site_admin":false},"body":"Yeah, I have a bunch of changes coming to `cleanup-refactor`","created_at":"2018-04-23T18:10:39Z","updated_at":"2018-04-23T18:10:39Z","html_url":"https://github.com/SU-SWS/ansible-playbooks/pull/18#discussion_r183488730","pull_request_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls/18","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls/comments/183488730"},"html":{"href":"https://github.com/SU-SWS/ansible-playbooks/pull/18#discussion_r183488730"},"pull_request":{"href":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls/18"}},"in_reply_to_id":183164541},"pull_request":{"url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls/18","id":154955549,"html_url":"https://github.com/SU-SWS/ansible-playbooks/pull/18","diff_url":"https://github.com/SU-SWS/ansible-playbooks/pull/18.diff","patch_url":"https://github.com/SU-SWS/ansible-playbooks/pull/18.patch","issue_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/18","number":18,"state":"open","locked":false,"title":"Sites 224 proposed refactor","user":{"login":"kbrownell","id":4072139,"avatar_url":"https://avatars2.githubusercontent.com/u/4072139?v=4","gravatar_id":"","url":"https://api.github.com/users/kbrownell","html_url":"https://github.com/kbrownell","followers_url":"https://api.github.com/users/kbrownell/followers","following_url":"https://api.github.com/users/kbrownell/following{/other_user}","gists_url":"https://api.github.com/users/kbrownell/gists{/gist_id}","starred_url":"https://api.github.com/users/kbrownell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbrownell/subscriptions","organizations_url":"https://api.github.com/users/kbrownell/orgs","repos_url":"https://api.github.com/users/kbrownell/repos","events_url":"https://api.github.com/users/kbrownell/events{/privacy}","received_events_url":"https://api.github.com/users/kbrownell/received_events","type":"User","site_admin":false},"body":"# READY FOR REVIEW\r\n\r\n# Summary\r\n- Given that this is the area we seem to be making changes to the most, I wanted to re-introduce the idea of cleaning up the code making these transformations.  My hope is that it will help us see more clearly what might be missing and what needs to be changed.\r\n\r\n# Needed By (4/15)\r\n- Before merging: https://github.com/SU-SWS/ansible-playbooks/pull/22\r\n\r\n# Urgency\r\n- Somewhat urgent as we have another pilot launch coming up with GSE.\r\n\r\n# Steps to Test\r\n\r\n1. Do this\r\n1. Then this\r\n2. Then this\r\n\r\n# Affected Projects or Products\r\n- https://github.com/SU-SWS/ansible-playbooks/pull/22\r\n\r\n# Associated Issues and/or People\r\n- JIRA ticket\r\n- Other PRs\r\n- Any other contextual information that might be helpful (e.g., description of a bug that this PR fixes, new functionality that it adds, etc.)\r\n- Anyone who should be notified? (`@mention` them here)\r\n\r\n# See Also\r\n- [PR Checklist](https://gist.github.com/sherakama/0ba17601381e3adbe0cad566ad4d80a5)","created_at":"2017-11-28T01:04:44Z","updated_at":"2018-04-23T18:10:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"434d1fbdca6dfa30b0e565eb7a838a0e7f9cdb22","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls/18/commits","review_comments_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls/18/comments","review_comment_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/18/comments","statuses_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/statuses/e91eff6989815650e16f92e5d299f68590ea0399","head":{"label":"SU-SWS:SITES-224-proposed-refactor","ref":"SITES-224-proposed-refactor","sha":"e91eff6989815650e16f92e5d299f68590ea0399","user":{"login":"SU-SWS","id":840730,"avatar_url":"https://avatars3.githubusercontent.com/u/840730?v=4","gravatar_id":"","url":"https://api.github.com/users/SU-SWS","html_url":"https://github.com/SU-SWS","followers_url":"https://api.github.com/users/SU-SWS/followers","following_url":"https://api.github.com/users/SU-SWS/following{/other_user}","gists_url":"https://api.github.com/users/SU-SWS/gists{/gist_id}","starred_url":"https://api.github.com/users/SU-SWS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SU-SWS/subscriptions","organizations_url":"https://api.github.com/users/SU-SWS/orgs","repos_url":"https://api.github.com/users/SU-SWS/repos","events_url":"https://api.github.com/users/SU-SWS/events{/privacy}","received_events_url":"https://api.github.com/users/SU-SWS/received_events","type":"Organization","site_admin":false},"repo":{"id":104133929,"name":"ansible-playbooks","full_name":"SU-SWS/ansible-playbooks","owner":{"login":"SU-SWS","id":840730,"avatar_url":"https://avatars3.githubusercontent.com/u/840730?v=4","gravatar_id":"","url":"https://api.github.com/users/SU-SWS","html_url":"https://github.com/SU-SWS","followers_url":"https://api.github.com/users/SU-SWS/followers","following_url":"https://api.github.com/users/SU-SWS/following{/other_user}","gists_url":"https://api.github.com/users/SU-SWS/gists{/gist_id}","starred_url":"https://api.github.com/users/SU-SWS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SU-SWS/subscriptions","organizations_url":"https://api.github.com/users/SU-SWS/orgs","repos_url":"https://api.github.com/users/SU-SWS/repos","events_url":"https://api.github.com/users/SU-SWS/events{/privacy}","received_events_url":"https://api.github.com/users/SU-SWS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SU-SWS/ansible-playbooks","description":"Collection of Ansible playbooks and roles used to migrate and manage SWS sites.","fork":false,"url":"https://api.github.com/repos/SU-SWS/ansible-playbooks","forks_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/forks","keys_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/teams","hooks_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/hooks","issue_events_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/events{/number}","events_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/events","assignees_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/assignees{/user}","branches_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/branches{/branch}","tags_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/tags","blobs_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/statuses/{sha}","languages_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/languages","stargazers_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/stargazers","contributors_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/contributors","subscribers_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/subscribers","subscription_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/subscription","commits_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/contents/{+path}","compare_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/merges","archive_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/downloads","issues_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues{/number}","pulls_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls{/number}","milestones_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/milestones{/number}","notifications_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/labels{/name}","releases_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/releases{/id}","deployments_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/deployments","created_at":"2017-09-19T22:04:19Z","updated_at":"2018-03-15T22:50:34Z","pushed_at":"2018-04-23T17:29:35Z","git_url":"git://github.com/SU-SWS/ansible-playbooks.git","ssh_url":"git@github.com:SU-SWS/ansible-playbooks.git","clone_url":"https://github.com/SU-SWS/ansible-playbooks.git","svn_url":"https://github.com/SU-SWS/ansible-playbooks","homepage":null,"size":113,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"SU-SWS:master","ref":"master","sha":"ab14ea8d098b498697b1037482e01072798310d4","user":{"login":"SU-SWS","id":840730,"avatar_url":"https://avatars3.githubusercontent.com/u/840730?v=4","gravatar_id":"","url":"https://api.github.com/users/SU-SWS","html_url":"https://github.com/SU-SWS","followers_url":"https://api.github.com/users/SU-SWS/followers","following_url":"https://api.github.com/users/SU-SWS/following{/other_user}","gists_url":"https://api.github.com/users/SU-SWS/gists{/gist_id}","starred_url":"https://api.github.com/users/SU-SWS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SU-SWS/subscriptions","organizations_url":"https://api.github.com/users/SU-SWS/orgs","repos_url":"https://api.github.com/users/SU-SWS/repos","events_url":"https://api.github.com/users/SU-SWS/events{/privacy}","received_events_url":"https://api.github.com/users/SU-SWS/received_events","type":"Organization","site_admin":false},"repo":{"id":104133929,"name":"ansible-playbooks","full_name":"SU-SWS/ansible-playbooks","owner":{"login":"SU-SWS","id":840730,"avatar_url":"https://avatars3.githubusercontent.com/u/840730?v=4","gravatar_id":"","url":"https://api.github.com/users/SU-SWS","html_url":"https://github.com/SU-SWS","followers_url":"https://api.github.com/users/SU-SWS/followers","following_url":"https://api.github.com/users/SU-SWS/following{/other_user}","gists_url":"https://api.github.com/users/SU-SWS/gists{/gist_id}","starred_url":"https://api.github.com/users/SU-SWS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SU-SWS/subscriptions","organizations_url":"https://api.github.com/users/SU-SWS/orgs","repos_url":"https://api.github.com/users/SU-SWS/repos","events_url":"https://api.github.com/users/SU-SWS/events{/privacy}","received_events_url":"https://api.github.com/users/SU-SWS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SU-SWS/ansible-playbooks","description":"Collection of Ansible playbooks and roles used to migrate and manage SWS sites.","fork":false,"url":"https://api.github.com/repos/SU-SWS/ansible-playbooks","forks_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/forks","keys_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/teams","hooks_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/hooks","issue_events_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/events{/number}","events_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/events","assignees_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/assignees{/user}","branches_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/branches{/branch}","tags_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/tags","blobs_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/statuses/{sha}","languages_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/languages","stargazers_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/stargazers","contributors_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/contributors","subscribers_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/subscribers","subscription_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/subscription","commits_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/contents/{+path}","compare_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/merges","archive_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/downloads","issues_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues{/number}","pulls_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls{/number}","milestones_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/milestones{/number}","notifications_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/labels{/name}","releases_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/releases{/id}","deployments_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/deployments","created_at":"2017-09-19T22:04:19Z","updated_at":"2018-03-15T22:50:34Z","pushed_at":"2018-04-23T17:29:35Z","git_url":"git://github.com/SU-SWS/ansible-playbooks.git","ssh_url":"git@github.com:SU-SWS/ansible-playbooks.git","clone_url":"https://github.com/SU-SWS/ansible-playbooks.git","svn_url":"https://github.com/SU-SWS/ansible-playbooks","homepage":null,"size":113,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls/18"},"html":{"href":"https://github.com/SU-SWS/ansible-playbooks/pull/18"},"issue":{"href":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/18"},"comments":{"href":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/SU-SWS/ansible-playbooks/statuses/e91eff6989815650e16f92e5d299f68590ea0399"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"jbickar"}}