{"action":"created","comment":{"url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/pulls/comments/69600936","id":69600936,"diff_hunk":"@@ -16,10 +16,17 @@\n - name: Set bootstrap user as Galaxy Admin\n   lineinfile: dest={{ galaxy_config_file }} state=present insertafter=\"app:main\" regexp=\"^[ ]*admin_users[ ]*=[ ]*\" line=\"admin_users = {{ galaxy_tools_admin_user }}\"  #\"\n   when: (create_user is defined) and create_user and (admin_users_found.msg == \"\")\n+  notify:\n+    - restart galaxy","path":"tasks/bootstrap_user.yml","position":5,"original_position":5,"commit_id":"a19c043c16bfe98d5b68df28855a8a26d992a6be","original_commit_id":"a19c043c16bfe98d5b68df28855a8a26d992a6be","user":{"login":"bgruening","id":469983,"avatar_url":"https://avatars.githubusercontent.com/u/469983?v=3","gravatar_id":"","url":"https://api.github.com/users/bgruening","html_url":"https://github.com/bgruening","followers_url":"https://api.github.com/users/bgruening/followers","following_url":"https://api.github.com/users/bgruening/following{/other_user}","gists_url":"https://api.github.com/users/bgruening/gists{/gist_id}","starred_url":"https://api.github.com/users/bgruening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgruening/subscriptions","organizations_url":"https://api.github.com/users/bgruening/orgs","repos_url":"https://api.github.com/users/bgruening/repos","events_url":"https://api.github.com/users/bgruening/events{/privacy}","received_events_url":"https://api.github.com/users/bgruening/received_events","type":"User","site_admin":false},"body":"Thanks, I thought so just wanted to double check.","created_at":"2016-07-05T17:08:28Z","updated_at":"2016-07-05T17:08:28Z","html_url":"https://github.com/galaxyproject/ansible-galaxy-tools/pull/32#discussion_r69600936","pull_request_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/pulls/comments/69600936"},"html":{"href":"https://github.com/galaxyproject/ansible-galaxy-tools/pull/32#discussion_r69600936"},"pull_request":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/pulls/32","id":76254286,"html_url":"https://github.com/galaxyproject/ansible-galaxy-tools/pull/32","diff_url":"https://github.com/galaxyproject/ansible-galaxy-tools/pull/32.diff","patch_url":"https://github.com/galaxyproject/ansible-galaxy-tools/pull/32.patch","issue_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/issues/32","number":32,"state":"closed","locked":false,"title":"Switch to a handlers setup for restarting galaxy","user":{"login":"mvdbeek","id":6804901,"avatar_url":"https://avatars.githubusercontent.com/u/6804901?v=3","gravatar_id":"","url":"https://api.github.com/users/mvdbeek","html_url":"https://github.com/mvdbeek","followers_url":"https://api.github.com/users/mvdbeek/followers","following_url":"https://api.github.com/users/mvdbeek/following{/other_user}","gists_url":"https://api.github.com/users/mvdbeek/gists{/gist_id}","starred_url":"https://api.github.com/users/mvdbeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvdbeek/subscriptions","organizations_url":"https://api.github.com/users/mvdbeek/orgs","repos_url":"https://api.github.com/users/mvdbeek/repos","events_url":"https://api.github.com/users/mvdbeek/events{/privacy}","received_events_url":"https://api.github.com/users/mvdbeek/received_events","type":"User","site_admin":false},"body":"Force a galaxy restart only if necessary (when a new admin has been added to galaxy.ini),\r\nand trigger handler to restart galaxy if tools have been installed.","created_at":"2016-07-05T10:55:23Z","updated_at":"2016-07-05T17:08:28Z","closed_at":"2016-07-05T17:08:14Z","merged_at":"2016-07-05T17:08:14Z","merge_commit_sha":"5b5a7439f649116d28285305ed50854d7875953d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/pulls/32/commits","review_comments_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/pulls/32/comments","review_comment_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/issues/32/comments","statuses_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/statuses/a19c043c16bfe98d5b68df28855a8a26d992a6be","head":{"label":"mvdbeek:handlers","ref":"handlers","sha":"a19c043c16bfe98d5b68df28855a8a26d992a6be","user":{"login":"mvdbeek","id":6804901,"avatar_url":"https://avatars.githubusercontent.com/u/6804901?v=3","gravatar_id":"","url":"https://api.github.com/users/mvdbeek","html_url":"https://github.com/mvdbeek","followers_url":"https://api.github.com/users/mvdbeek/followers","following_url":"https://api.github.com/users/mvdbeek/following{/other_user}","gists_url":"https://api.github.com/users/mvdbeek/gists{/gist_id}","starred_url":"https://api.github.com/users/mvdbeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvdbeek/subscriptions","organizations_url":"https://api.github.com/users/mvdbeek/orgs","repos_url":"https://api.github.com/users/mvdbeek/repos","events_url":"https://api.github.com/users/mvdbeek/events{/privacy}","received_events_url":"https://api.github.com/users/mvdbeek/received_events","type":"User","site_admin":false},"repo":{"id":46430754,"name":"ansible-galaxy-tools","full_name":"mvdbeek/ansible-galaxy-tools","owner":{"login":"mvdbeek","id":6804901,"avatar_url":"https://avatars.githubusercontent.com/u/6804901?v=3","gravatar_id":"","url":"https://api.github.com/users/mvdbeek","html_url":"https://github.com/mvdbeek","followers_url":"https://api.github.com/users/mvdbeek/followers","following_url":"https://api.github.com/users/mvdbeek/following{/other_user}","gists_url":"https://api.github.com/users/mvdbeek/gists{/gist_id}","starred_url":"https://api.github.com/users/mvdbeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvdbeek/subscriptions","organizations_url":"https://api.github.com/users/mvdbeek/orgs","repos_url":"https://api.github.com/users/mvdbeek/repos","events_url":"https://api.github.com/users/mvdbeek/events{/privacy}","received_events_url":"https://api.github.com/users/mvdbeek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mvdbeek/ansible-galaxy-tools","description":"An Ansible role for automated installation of tools from a Tool Shed into Galaxy.","fork":true,"url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools","forks_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/forks","keys_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/teams","hooks_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/hooks","issue_events_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/issues/events{/number}","events_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/events","assignees_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/assignees{/user}","branches_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/branches{/branch}","tags_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/tags","blobs_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/languages","stargazers_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/stargazers","contributors_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/contributors","subscribers_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/subscribers","subscription_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/subscription","commits_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/contents/{+path}","compare_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/merges","archive_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/downloads","issues_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/issues{/number}","pulls_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/labels{/name}","releases_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/releases{/id}","deployments_url":"https://api.github.com/repos/mvdbeek/ansible-galaxy-tools/deployments","created_at":"2015-11-18T16:13:01Z","updated_at":"2016-06-19T15:33:11Z","pushed_at":"2016-07-05T13:52:17Z","git_url":"git://github.com/mvdbeek/ansible-galaxy-tools.git","ssh_url":"git@github.com:mvdbeek/ansible-galaxy-tools.git","clone_url":"https://github.com/mvdbeek/ansible-galaxy-tools.git","svn_url":"https://github.com/mvdbeek/ansible-galaxy-tools","homepage":null,"size":93,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"galaxyproject:master","ref":"master","sha":"7829517110b2f5a8dbd3e272e86b3b4494ead861","user":{"login":"galaxyproject","id":7937847,"avatar_url":"https://avatars.githubusercontent.com/u/7937847?v=3","gravatar_id":"","url":"https://api.github.com/users/galaxyproject","html_url":"https://github.com/galaxyproject","followers_url":"https://api.github.com/users/galaxyproject/followers","following_url":"https://api.github.com/users/galaxyproject/following{/other_user}","gists_url":"https://api.github.com/users/galaxyproject/gists{/gist_id}","starred_url":"https://api.github.com/users/galaxyproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galaxyproject/subscriptions","organizations_url":"https://api.github.com/users/galaxyproject/orgs","repos_url":"https://api.github.com/users/galaxyproject/repos","events_url":"https://api.github.com/users/galaxyproject/events{/privacy}","received_events_url":"https://api.github.com/users/galaxyproject/received_events","type":"Organization","site_admin":false},"repo":{"id":39786045,"name":"ansible-galaxy-tools","full_name":"galaxyproject/ansible-galaxy-tools","owner":{"login":"galaxyproject","id":7937847,"avatar_url":"https://avatars.githubusercontent.com/u/7937847?v=3","gravatar_id":"","url":"https://api.github.com/users/galaxyproject","html_url":"https://github.com/galaxyproject","followers_url":"https://api.github.com/users/galaxyproject/followers","following_url":"https://api.github.com/users/galaxyproject/following{/other_user}","gists_url":"https://api.github.com/users/galaxyproject/gists{/gist_id}","starred_url":"https://api.github.com/users/galaxyproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galaxyproject/subscriptions","organizations_url":"https://api.github.com/users/galaxyproject/orgs","repos_url":"https://api.github.com/users/galaxyproject/repos","events_url":"https://api.github.com/users/galaxyproject/events{/privacy}","received_events_url":"https://api.github.com/users/galaxyproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/galaxyproject/ansible-galaxy-tools","description":"An Ansible role for automated installation of tools from a Tool Shed into Galaxy.","fork":false,"url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools","forks_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/forks","keys_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/teams","hooks_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/hooks","issue_events_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/issues/events{/number}","events_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/events","assignees_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/assignees{/user}","branches_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/branches{/branch}","tags_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/tags","blobs_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/languages","stargazers_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/stargazers","contributors_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/contributors","subscribers_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/subscribers","subscription_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/subscription","commits_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/contents/{+path}","compare_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/merges","archive_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/downloads","issues_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/issues{/number}","pulls_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/labels{/name}","releases_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/releases{/id}","deployments_url":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/deployments","created_at":"2015-07-27T16:45:58Z","updated_at":"2016-06-26T18:28:09Z","pushed_at":"2016-07-05T17:08:14Z","git_url":"git://github.com/galaxyproject/ansible-galaxy-tools.git","ssh_url":"git@github.com:galaxyproject/ansible-galaxy-tools.git","clone_url":"https://github.com/galaxyproject/ansible-galaxy-tools.git","svn_url":"https://github.com/galaxyproject/ansible-galaxy-tools","homepage":null,"size":89,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":5,"forks":13,"open_issues":5,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/pulls/32"},"html":{"href":"https://github.com/galaxyproject/ansible-galaxy-tools/pull/32"},"issue":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/issues/32"},"comments":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/galaxyproject/ansible-galaxy-tools/statuses/a19c043c16bfe98d5b68df28855a8a26d992a6be"}}}}
{"actor":{"display_login":"bgruening"}}