{"action":"created","comment":{"url":"https://api.github.com/repos/ansible/ansible/pulls/comments/212378495","pull_request_review_id":148998289,"id":212378495,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjM3ODQ5NQ==","diff_hunk":"@@ -0,0 +1,82 @@\n+#!/usr/bin/python\n+# -*- coding: utf-8 -*-\n+# Copyright: (c) 2018, Ansible Project\n+# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)\n+\n+from __future__ import (absolute_import, division, print_function)\n+__metaclass__ = type\n+\n+ANSIBLE_METADATA = {'metadata_version': '1.1',\n+                    'status': ['preview'],\n+                    'supported_by': 'core'}\n+\n+DOCUMENTATION = r'''\n+module: reboot\n+short_description: Reboot a \\*nix machine","path":"lib/ansible/modules/system/reboot.py","position":15,"original_position":15,"commit_id":"424f3b8e7f9c490db944cffb97dca10f61798dae","original_commit_id":"15496107f961347e210efbe87e770ca0a96ace8e","user":{"login":"dagwieers","id":388198,"node_id":"MDQ6VXNlcjM4ODE5OA==","avatar_url":"https://avatars0.githubusercontent.com/u/388198?v=4","gravatar_id":"","url":"https://api.github.com/users/dagwieers","html_url":"https://github.com/dagwieers","followers_url":"https://api.github.com/users/dagwieers/followers","following_url":"https://api.github.com/users/dagwieers/following{/other_user}","gists_url":"https://api.github.com/users/dagwieers/gists{/gist_id}","starred_url":"https://api.github.com/users/dagwieers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagwieers/subscriptions","organizations_url":"https://api.github.com/users/dagwieers/orgs","repos_url":"https://api.github.com/users/dagwieers/repos","events_url":"https://api.github.com/users/dagwieers/events{/privacy}","received_events_url":"https://api.github.com/users/dagwieers/received_events","type":"User","site_admin":false},"body":"@sivel Sure, but since reboot supports multiple platforms anyway, we might as well make it work on Windows too. That was the original intention anyway, and it helps doing reboots without having to differentiate between platform (i.e. doing them consecutively).","created_at":"2018-08-23T16:40:27Z","updated_at":"2018-08-23T16:40:27Z","html_url":"https://github.com/ansible/ansible/pull/35205#discussion_r212378495","pull_request_url":"https://api.github.com/repos/ansible/ansible/pulls/35205","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments/212378495"},"html":{"href":"https://github.com/ansible/ansible/pull/35205#discussion_r212378495"},"pull_request":{"href":"https://api.github.com/repos/ansible/ansible/pulls/35205"}},"in_reply_to_id":212219740},"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/35205","id":164435774,"node_id":"MDExOlB1bGxSZXF1ZXN0MTY0NDM1Nzc0","html_url":"https://github.com/ansible/ansible/pull/35205","diff_url":"https://github.com/ansible/ansible/pull/35205.diff","patch_url":"https://github.com/ansible/ansible/pull/35205.patch","issue_url":"https://api.github.com/repos/ansible/ansible/issues/35205","number":35205,"state":"open","locked":false,"title":"Add reboot action plugin","user":{"login":"samdoran","id":4047861,"node_id":"MDQ6VXNlcjQwNDc4NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/4047861?v=4","gravatar_id":"","url":"https://api.github.com/users/samdoran","html_url":"https://github.com/samdoran","followers_url":"https://api.github.com/users/samdoran/followers","following_url":"https://api.github.com/users/samdoran/following{/other_user}","gists_url":"https://api.github.com/users/samdoran/gists{/gist_id}","starred_url":"https://api.github.com/users/samdoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdoran/subscriptions","organizations_url":"https://api.github.com/users/samdoran/orgs","repos_url":"https://api.github.com/users/samdoran/repos","events_url":"https://api.github.com/users/samdoran/events{/privacy}","received_events_url":"https://api.github.com/users/samdoran/received_events","type":"User","site_admin":false},"body":"##### SUMMARY\r\n\r\nCreate a `reboot` action plugin for rebooting *nix hosts.\r\n\r\nRefactor `win_reboot` so it subclasses methods in `reboot.py`.\r\n\r\nFixes #16186\r\n\r\n##### ISSUE TYPE\r\n\r\n - New Module Pull Request\r\n\r\n\r\n##### COMPONENT NAME\r\n`reboot.py`\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\n2.7\r\n```\r\n","created_at":"2018-01-22T22:38:20Z","updated_at":"2018-08-23T16:40:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f980d5f180e970c48e2e99c7ab86f4f31a31fded","assignee":null,"assignees":[],"requested_reviewers":[{"login":"nitzmahone","id":6775756,"node_id":"MDQ6VXNlcjY3NzU3NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/6775756?v=4","gravatar_id":"","url":"https://api.github.com/users/nitzmahone","html_url":"https://github.com/nitzmahone","followers_url":"https://api.github.com/users/nitzmahone/followers","following_url":"https://api.github.com/users/nitzmahone/following{/other_user}","gists_url":"https://api.github.com/users/nitzmahone/gists{/gist_id}","starred_url":"https://api.github.com/users/nitzmahone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitzmahone/subscriptions","organizations_url":"https://api.github.com/users/nitzmahone/orgs","repos_url":"https://api.github.com/users/nitzmahone/repos","events_url":"https://api.github.com/users/nitzmahone/events{/privacy}","received_events_url":"https://api.github.com/users/nitzmahone/received_events","type":"User","site_admin":false},{"login":"jborean93","id":8462645,"node_id":"MDQ6VXNlcjg0NjI2NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/8462645?v=4","gravatar_id":"","url":"https://api.github.com/users/jborean93","html_url":"https://github.com/jborean93","followers_url":"https://api.github.com/users/jborean93/followers","following_url":"https://api.github.com/users/jborean93/following{/other_user}","gists_url":"https://api.github.com/users/jborean93/gists{/gist_id}","starred_url":"https://api.github.com/users/jborean93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jborean93/subscriptions","organizations_url":"https://api.github.com/users/jborean93/orgs","repos_url":"https://api.github.com/users/jborean93/repos","events_url":"https://api.github.com/users/jborean93/events{/privacy}","received_events_url":"https://api.github.com/users/jborean93/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":686214011,"node_id":"MDU6TGFiZWw2ODYyMTQwMTE=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.5","name":"affects_2.5","color":"ededed","default":false},{"id":849212023,"node_id":"MDU6TGFiZWw4NDkyMTIwMjM=","url":"https://api.github.com/repos/ansible/ansible/labels/docs","name":"docs","color":"0052cc","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":61436281,"node_id":"MDU6TGFiZWw2MTQzNjI4MQ==","url":"https://api.github.com/repos/ansible/ansible/labels/needs_revision","name":"needs_revision","color":"eb6450","default":false},{"id":473225334,"node_id":"MDU6TGFiZWw0NzMyMjUzMzQ=","url":"https://api.github.com/repos/ansible/ansible/labels/new_module","name":"new_module","color":"c2e0c6","default":false},{"id":153577825,"node_id":"MDU6TGFiZWwxNTM1Nzc4MjU=","url":"https://api.github.com/repos/ansible/ansible/labels/new_plugin","name":"new_plugin","color":"bfe5bf","default":false},{"id":636327968,"node_id":"MDU6TGFiZWw2MzYzMjc5Njg=","url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false},{"id":636352796,"node_id":"MDU6TGFiZWw2MzYzNTI3OTY=","url":"https://api.github.com/repos/ansible/ansible/labels/support:core","name":"support:core","color":"ededed","default":false},{"id":468273802,"node_id":"MDU6TGFiZWw0NjgyNzM4MDI=","url":"https://api.github.com/repos/ansible/ansible/labels/test","name":"test","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible/pulls/35205/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible/pulls/35205/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/35205/comments","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/424f3b8e7f9c490db944cffb97dca10f61798dae","head":{"label":"samdoran:reboot-plugin","ref":"reboot-plugin","sha":"424f3b8e7f9c490db944cffb97dca10f61798dae","user":{"login":"samdoran","id":4047861,"node_id":"MDQ6VXNlcjQwNDc4NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/4047861?v=4","gravatar_id":"","url":"https://api.github.com/users/samdoran","html_url":"https://github.com/samdoran","followers_url":"https://api.github.com/users/samdoran/followers","following_url":"https://api.github.com/users/samdoran/following{/other_user}","gists_url":"https://api.github.com/users/samdoran/gists{/gist_id}","starred_url":"https://api.github.com/users/samdoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdoran/subscriptions","organizations_url":"https://api.github.com/users/samdoran/orgs","repos_url":"https://api.github.com/users/samdoran/repos","events_url":"https://api.github.com/users/samdoran/events{/privacy}","received_events_url":"https://api.github.com/users/samdoran/received_events","type":"User","site_admin":false},"repo":{"id":70726272,"node_id":"MDEwOlJlcG9zaXRvcnk3MDcyNjI3Mg==","name":"ansible","full_name":"samdoran/ansible","owner":{"login":"samdoran","id":4047861,"node_id":"MDQ6VXNlcjQwNDc4NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/4047861?v=4","gravatar_id":"","url":"https://api.github.com/users/samdoran","html_url":"https://github.com/samdoran","followers_url":"https://api.github.com/users/samdoran/followers","following_url":"https://api.github.com/users/samdoran/following{/other_user}","gists_url":"https://api.github.com/users/samdoran/gists{/gist_id}","starred_url":"https://api.github.com/users/samdoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdoran/subscriptions","organizations_url":"https://api.github.com/users/samdoran/orgs","repos_url":"https://api.github.com/users/samdoran/repos","events_url":"https://api.github.com/users/samdoran/events{/privacy}","received_events_url":"https://api.github.com/users/samdoran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samdoran/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":true,"url":"https://api.github.com/repos/samdoran/ansible","forks_url":"https://api.github.com/repos/samdoran/ansible/forks","keys_url":"https://api.github.com/repos/samdoran/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samdoran/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samdoran/ansible/teams","hooks_url":"https://api.github.com/repos/samdoran/ansible/hooks","issue_events_url":"https://api.github.com/repos/samdoran/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/samdoran/ansible/events","assignees_url":"https://api.github.com/repos/samdoran/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/samdoran/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/samdoran/ansible/tags","blobs_url":"https://api.github.com/repos/samdoran/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samdoran/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samdoran/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/samdoran/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samdoran/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/samdoran/ansible/languages","stargazers_url":"https://api.github.com/repos/samdoran/ansible/stargazers","contributors_url":"https://api.github.com/repos/samdoran/ansible/contributors","subscribers_url":"https://api.github.com/repos/samdoran/ansible/subscribers","subscription_url":"https://api.github.com/repos/samdoran/ansible/subscription","commits_url":"https://api.github.com/repos/samdoran/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/samdoran/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/samdoran/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/samdoran/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/samdoran/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/samdoran/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samdoran/ansible/merges","archive_url":"https://api.github.com/repos/samdoran/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samdoran/ansible/downloads","issues_url":"https://api.github.com/repos/samdoran/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/samdoran/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/samdoran/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/samdoran/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samdoran/ansible/labels{/name}","releases_url":"https://api.github.com/repos/samdoran/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/samdoran/ansible/deployments","created_at":"2016-10-12T17:53:34Z","updated_at":"2016-10-12T17:53:44Z","pushed_at":"2018-08-23T16:34:11Z","git_url":"git://github.com/samdoran/ansible.git","ssh_url":"git@github.com:samdoran/ansible.git","clone_url":"https://github.com/samdoran/ansible.git","svn_url":"https://github.com/samdoran/ansible","homepage":"http://ansible.com/","size":126763,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"9c4ed4dfc1d58cb749b38149f981cb6db6a2927d","user":{"login":"ansible","id":1507452,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDc0NTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1507452?v=4","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":3638964,"node_id":"MDEwOlJlcG9zaXRvcnkzNjM4OTY0","name":"ansible","full_name":"ansible/ansible","owner":{"login":"ansible","id":1507452,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MDc0NTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1507452?v=4","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications — automate in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com/ansible/","fork":false,"url":"https://api.github.com/repos/ansible/ansible","forks_url":"https://api.github.com/repos/ansible/ansible/forks","keys_url":"https://api.github.com/repos/ansible/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible/teams","hooks_url":"https://api.github.com/repos/ansible/ansible/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible/events","assignees_url":"https://api.github.com/repos/ansible/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible/tags","blobs_url":"https://api.github.com/repos/ansible/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible/subscription","commits_url":"https://api.github.com/repos/ansible/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible/merges","archive_url":"https://api.github.com/repos/ansible/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible/downloads","issues_url":"https://api.github.com/repos/ansible/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/ansible/deployments","created_at":"2012-03-06T14:58:02Z","updated_at":"2018-08-23T16:29:58Z","pushed_at":"2018-08-23T16:38:38Z","git_url":"git://github.com/ansible/ansible.git","ssh_url":"git@github.com:ansible/ansible.git","clone_url":"https://github.com/ansible/ansible.git","svn_url":"https://github.com/ansible/ansible","homepage":"https://www.ansible.com/","size":137439,"stargazers_count":32141,"watchers_count":32141,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12510,"mirror_url":null,"archived":false,"open_issues_count":5413,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":12510,"open_issues":5413,"watchers":32141,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/35205"},"html":{"href":"https://github.com/ansible/ansible/pull/35205"},"issue":{"href":"https://api.github.com/repos/ansible/ansible/issues/35205"},"comments":{"href":"https://api.github.com/repos/ansible/ansible/issues/35205/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible/pulls/35205/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible/pulls/35205/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible/statuses/424f3b8e7f9c490db944cffb97dca10f61798dae"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"dagwieers"}}