{"action":"created","comment":{"url":"https://api.github.com/repos/ansible/ansible/pulls/comments/123634355","pull_request_review_id":45848773,"id":123634355,"diff_hunk":"@@ -0,0 +1,156 @@\n+#!/usr/bin/python\n+# -*- coding: utf-8 -*-\n+\n+# (c) 2017, Liran Nisanov <lirannis@gmail.com>\n+#\n+# This file is part of Ansible\n+#\n+# Ansible is free software: you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License as published by\n+# the Free Software Foundation, either version 3 of the License, or\n+# (at your option) any later version.\n+#\n+# Ansible is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with Ansible.  If not, see <http://www.gnu.org/licenses/>.\n+\n+# this is a windows documentation stub.  actual code lives in the .ps1\n+# file of the same name\n+\n+ANSIBLE_METADATA = {'metadata_version': '1.0',\n+                    'status': ['preview'],\n+                    'supported_by': 'community'}\n+\n+\n+DOCUMENTATION = r'''\n+---\n+module: win_pagefile\n+version_added: \"2.4\"\n+short_description: Query or change pagefile configuration\n+description:\n+    - Query current pagefile configuration\n+    - Enable/Disable AutomaticManagedPagefile\n+    - Create new or override pagefile configuration\n+options:\n+  drive:\n+    description:\n+      - The drive of the pagefile.\n+    required: false","path":"lib/ansible/modules/windows/win_pagefile.py","position":42,"original_position":42,"commit_id":"3e51ddc9dd12dff7570404338fe51140df3e3990","original_commit_id":"3e51ddc9dd12dff7570404338fe51140df3e3990","user":{"login":"dagwieers","id":388198,"avatar_url":"https://avatars3.githubusercontent.com/u/388198?v=3","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":"If it is not required, you don't have to add `required: false`. This is implicit (and makes it easier to see what is required).","created_at":"2017-06-22T22:10:51Z","updated_at":"2017-06-22T22:12:23Z","html_url":"https://github.com/ansible/ansible/pull/25605#discussion_r123634355","pull_request_url":"https://api.github.com/repos/ansible/ansible/pulls/25605","_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments/123634355"},"html":{"href":"https://github.com/ansible/ansible/pull/25605#discussion_r123634355"},"pull_request":{"href":"https://api.github.com/repos/ansible/ansible/pulls/25605"}}},"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/25605","id":125157975,"html_url":"https://github.com/ansible/ansible/pull/25605","diff_url":"https://github.com/ansible/ansible/pull/25605.diff","patch_url":"https://github.com/ansible/ansible/pull/25605.patch","issue_url":"https://api.github.com/repos/ansible/ansible/issues/25605","number":25605,"state":"open","locked":false,"title":"Adds win_pagefile module","user":{"login":"LiranNis","id":12872536,"avatar_url":"https://avatars0.githubusercontent.com/u/12872536?v=3","gravatar_id":"","url":"https://api.github.com/users/LiranNis","html_url":"https://github.com/LiranNis","followers_url":"https://api.github.com/users/LiranNis/followers","following_url":"https://api.github.com/users/LiranNis/following{/other_user}","gists_url":"https://api.github.com/users/LiranNis/gists{/gist_id}","starred_url":"https://api.github.com/users/LiranNis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiranNis/subscriptions","organizations_url":"https://api.github.com/users/LiranNis/orgs","repos_url":"https://api.github.com/users/LiranNis/repos","events_url":"https://api.github.com/users/LiranNis/events{/privacy}","received_events_url":"https://api.github.com/users/LiranNis/received_events","type":"User","site_admin":false},"body":"##### SUMMARY\r\n<!--- Describe the change, including rationale and design decisions -->\r\nAdds module that allows management of **Windows** pagefiles.\r\n<!---\r\nIf you are fixing an existing issue, please include \"Fixes #nnn\" in your\r\ncommit message and your description; but you should still explain what\r\nthe change does.\r\n-->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - New Module Pull Request\r\n\r\n##### COMPONENT NAME\r\n<!--- Name of the module/plugin/module/task -->\r\nmodule: lib/ansible/modules/windows/win_pagefile.ps1\r\ndoc: lib/ansible/modules/windows/win_pagefile.py\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\r\n```\r\nansible 2.3.1.0\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = [u'/etc/ansible/modules/']\r\n  python version = 2.7.5 (default, Aug  2 2016, 04:20:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]\r\n```\r\n\r\n\r\n##### ADDITIONAL INFORMATION\r\n<!---\r\nInclude additional information to help people understand the change here.\r\nFor bugs that don't have a linked bug report, a step-by-step reproduction\r\nof the problem is helpful.\r\n  -->\r\n\r\n<!--- Paste verbatim command output below, e.g. before and after your change -->\r\n```\r\n\r\n```\r\n","created_at":"2017-06-12T15:02:40Z","updated_at":"2017-06-22T22:12:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"054165d4e5f7253319dc4dec125396b6d5c90bb4","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible/pulls/25605/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible/pulls/25605/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/25605/comments","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/3e51ddc9dd12dff7570404338fe51140df3e3990","head":{"label":"LiranNis:devel","ref":"devel","sha":"3e51ddc9dd12dff7570404338fe51140df3e3990","user":{"login":"LiranNis","id":12872536,"avatar_url":"https://avatars0.githubusercontent.com/u/12872536?v=3","gravatar_id":"","url":"https://api.github.com/users/LiranNis","html_url":"https://github.com/LiranNis","followers_url":"https://api.github.com/users/LiranNis/followers","following_url":"https://api.github.com/users/LiranNis/following{/other_user}","gists_url":"https://api.github.com/users/LiranNis/gists{/gist_id}","starred_url":"https://api.github.com/users/LiranNis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiranNis/subscriptions","organizations_url":"https://api.github.com/users/LiranNis/orgs","repos_url":"https://api.github.com/users/LiranNis/repos","events_url":"https://api.github.com/users/LiranNis/events{/privacy}","received_events_url":"https://api.github.com/users/LiranNis/received_events","type":"User","site_admin":false},"repo":{"id":94106144,"name":"ansible-1","full_name":"LiranNis/ansible-1","owner":{"login":"LiranNis","id":12872536,"avatar_url":"https://avatars0.githubusercontent.com/u/12872536?v=3","gravatar_id":"","url":"https://api.github.com/users/LiranNis","html_url":"https://github.com/LiranNis","followers_url":"https://api.github.com/users/LiranNis/followers","following_url":"https://api.github.com/users/LiranNis/following{/other_user}","gists_url":"https://api.github.com/users/LiranNis/gists{/gist_id}","starred_url":"https://api.github.com/users/LiranNis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiranNis/subscriptions","organizations_url":"https://api.github.com/users/LiranNis/orgs","repos_url":"https://api.github.com/users/LiranNis/repos","events_url":"https://api.github.com/users/LiranNis/events{/privacy}","received_events_url":"https://api.github.com/users/LiranNis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LiranNis/ansible-1","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/LiranNis/ansible-1","forks_url":"https://api.github.com/repos/LiranNis/ansible-1/forks","keys_url":"https://api.github.com/repos/LiranNis/ansible-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LiranNis/ansible-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LiranNis/ansible-1/teams","hooks_url":"https://api.github.com/repos/LiranNis/ansible-1/hooks","issue_events_url":"https://api.github.com/repos/LiranNis/ansible-1/issues/events{/number}","events_url":"https://api.github.com/repos/LiranNis/ansible-1/events","assignees_url":"https://api.github.com/repos/LiranNis/ansible-1/assignees{/user}","branches_url":"https://api.github.com/repos/LiranNis/ansible-1/branches{/branch}","tags_url":"https://api.github.com/repos/LiranNis/ansible-1/tags","blobs_url":"https://api.github.com/repos/LiranNis/ansible-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LiranNis/ansible-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LiranNis/ansible-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/LiranNis/ansible-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LiranNis/ansible-1/statuses/{sha}","languages_url":"https://api.github.com/repos/LiranNis/ansible-1/languages","stargazers_url":"https://api.github.com/repos/LiranNis/ansible-1/stargazers","contributors_url":"https://api.github.com/repos/LiranNis/ansible-1/contributors","subscribers_url":"https://api.github.com/repos/LiranNis/ansible-1/subscribers","subscription_url":"https://api.github.com/repos/LiranNis/ansible-1/subscription","commits_url":"https://api.github.com/repos/LiranNis/ansible-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/LiranNis/ansible-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/LiranNis/ansible-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/LiranNis/ansible-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/LiranNis/ansible-1/contents/{+path}","compare_url":"https://api.github.com/repos/LiranNis/ansible-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LiranNis/ansible-1/merges","archive_url":"https://api.github.com/repos/LiranNis/ansible-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LiranNis/ansible-1/downloads","issues_url":"https://api.github.com/repos/LiranNis/ansible-1/issues{/number}","pulls_url":"https://api.github.com/repos/LiranNis/ansible-1/pulls{/number}","milestones_url":"https://api.github.com/repos/LiranNis/ansible-1/milestones{/number}","notifications_url":"https://api.github.com/repos/LiranNis/ansible-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LiranNis/ansible-1/labels{/name}","releases_url":"https://api.github.com/repos/LiranNis/ansible-1/releases{/id}","deployments_url":"https://api.github.com/repos/LiranNis/ansible-1/deployments","created_at":"2017-06-12T14:34:00Z","updated_at":"2017-06-12T14:34:22Z","pushed_at":"2017-06-19T16:54:55Z","git_url":"git://github.com/LiranNis/ansible-1.git","ssh_url":"git@github.com:LiranNis/ansible-1.git","clone_url":"https://github.com/LiranNis/ansible-1.git","svn_url":"https://github.com/LiranNis/ansible-1","homepage":"http://ansible.com/","size":79589,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"da6f6d27e8bc05b1d7df79eab77e1d3d11493a12","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars1.githubusercontent.com/u/1507452?v=3","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,"name":"ansible","full_name":"ansible/ansible","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars1.githubusercontent.com/u/1507452?v=3","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.","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":"2017-06-22T19:19:03Z","pushed_at":"2017-06-22T22:10:52Z","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":"http://ansible.com/","size":80538,"stargazers_count":23834,"watchers_count":23834,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8080,"mirror_url":null,"open_issues_count":3428,"forks":8080,"open_issues":3428,"watchers":23834,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/25605"},"html":{"href":"https://github.com/ansible/ansible/pull/25605"},"issue":{"href":"https://api.github.com/repos/ansible/ansible/issues/25605"},"comments":{"href":"https://api.github.com/repos/ansible/ansible/issues/25605/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible/pulls/25605/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible/pulls/25605/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible/statuses/3e51ddc9dd12dff7570404338fe51140df3e3990"}}}}
{"actor":{"display_login":"dagwieers"}}