{"action":"created","comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments/64634528","id":64634528,"diff_hunk":"@@ -0,0 +1,1484 @@\n+#!/usr/bin/python\r\n+\r\n+# (c) 2016, Timothy Vandenbrande <timothy.vandenbrande@gmail.com>\r\n+#\r\n+# This file is part of Ansible\r\n+#\r\n+# Ansible is free software: you can redistribute it and/or modify\r\n+# it under the terms of the GNU General Public License as published by\r\n+# the Free Software Foundation, either version 3 of the License, or\r\n+# (at your option) any later version.\r\n+#\r\n+# Ansible is distributed in the hope that it will be useful,\r\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n+# GNU General Public License for more details.\r\n+#\r\n+# You should have received a copy of the GNU General Public License\r\n+# along with Ansible. If not, see <http://www.gnu.org/licenses/>.\r\n+\r\n+DOCUMENTATION = '''\r\n+---\r\n+module: rhevm\r\n+author: Timothy Vandenbrande\r\n+short_description: RHEV/oVirt automation\r\n+description:\r\n+    - Allows you to create/remove/update or powermanage virtual machines on a RHEV/oVirt platform.\r\n+version_added: \"2.2\"\r\n+requirements:\r\n+    - ovirtsdk\r\n+options:\r\n+    user:\r\n+        description:\r\n+            - The user to authenticate with.\r\n+        default: \"admin@internal\"\r\n+        required: false\r\n+    server:\r\n+        description:\r\n+            - The name/ip of your RHEV-m/oVirt instance.\r\n+        default: \"127.0.0.1\"\r\n+        required: false\r\n+    port:\r\n+        description:\r\n+            - The port on which the API is reacheable.\r\n+        default: \"443\"\r\n+        required: false\r\n+    insecure_api:\r\n+        description:\r\n+            - A boolean switch to make a secure or insecure connection to the server.\r\n+        default: false\r\n+        required: false\r\n+    cluster:\r\n+        description:\r\n+            - The rhev/ovirt cluster in which you want you VM to start.\r\n+        required: true\r\n+    state:\r\n+        description:\r\n+            - This serves to create/remove/update or powermanage your VM.\r\n+        default: \"present\"\r\n+        required: false\r\n+        choices: ['present', 'absent', 'up', 'down', 'restarted', 'cd']\r\n+    image:\r\n+        description:\r\n+            - The template to use for the VM.\r\n+        default: null\r\n+        required: false\r\n+    type:\r\n+        description:\r\n+            - To define if the VM is a server or desktop.\r\n+        default: server\r\n+        required: false\r\n+        choices: [ 'server', 'desktop', 'host' ]\r\n+    vmcpu:\r\n+        description:\r\n+            - The number of CPUs you want in your VM.\r\n+        default: \"2\"\r\n+        required: false\r\n+    vmmem:\r\n+        description:\r\n+            - The amount of memory you want your VM to use (in GB).\r\n+        default: \"1\"\r\n+        required: false\r\n+    osver:\r\n+        description:\r\n+            - The operationsystem option in RHEV/oVirt.\r\n+        default: \"rhel_6x64\"\r\n+        required: false\r\n+    mempol:\r\n+        description:\r\n+            - The minimum amount of memory you wish to reserve for this system.\r\n+        default: \"1\"\r\n+        required: false\r\n+    vm_ha:\r\n+        description:\r\n+            - To make you VM High Available.\r","path":"cloud/misc/rhevm.py","position":94,"original_position":94,"commit_id":"a37dbe9e90f1a7203e4684013b89ea82b351d6f4","original_commit_id":"a37dbe9e90f1a7203e4684013b89ea82b351d6f4","user":{"login":"gundalow","id":940557,"avatar_url":"https://avatars.githubusercontent.com/u/940557?v=3","gravatar_id":"","url":"https://api.github.com/users/gundalow","html_url":"https://github.com/gundalow","followers_url":"https://api.github.com/users/gundalow/followers","following_url":"https://api.github.com/users/gundalow/following{/other_user}","gists_url":"https://api.github.com/users/gundalow/gists{/gist_id}","starred_url":"https://api.github.com/users/gundalow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gundalow/subscriptions","organizations_url":"https://api.github.com/users/gundalow/orgs","repos_url":"https://api.github.com/users/gundalow/repos","events_url":"https://api.github.com/users/gundalow/events{/privacy}","received_events_url":"https://api.github.com/users/gundalow/received_events","type":"User","site_admin":false},"body":"To make you're VM High Available.\r\n\r\nor\r\n\r\nTo make the VM High Available.\r\n￼\r\n￼","created_at":"2016-05-25T19:11:20Z","updated_at":"2016-05-25T19:11:20Z","html_url":"https://github.com/ansible/ansible-modules-extras/pull/2202#discussion_r64634528","pull_request_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/2202","_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments/64634528"},"html":{"href":"https://github.com/ansible/ansible-modules-extras/pull/2202#discussion_r64634528"},"pull_request":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/2202"}}},"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/2202","id":69461978,"html_url":"https://github.com/ansible/ansible-modules-extras/pull/2202","diff_url":"https://github.com/ansible/ansible-modules-extras/pull/2202.diff","patch_url":"https://github.com/ansible/ansible-modules-extras/pull/2202.patch","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2202","number":2202,"state":"open","locked":false,"title":"rhev","user":{"login":"TimothyVandenbrande","id":6328839,"avatar_url":"https://avatars.githubusercontent.com/u/6328839?v=3","gravatar_id":"","url":"https://api.github.com/users/TimothyVandenbrande","html_url":"https://github.com/TimothyVandenbrande","followers_url":"https://api.github.com/users/TimothyVandenbrande/followers","following_url":"https://api.github.com/users/TimothyVandenbrande/following{/other_user}","gists_url":"https://api.github.com/users/TimothyVandenbrande/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyVandenbrande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyVandenbrande/subscriptions","organizations_url":"https://api.github.com/users/TimothyVandenbrande/orgs","repos_url":"https://api.github.com/users/TimothyVandenbrande/repos","events_url":"https://api.github.com/users/TimothyVandenbrande/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyVandenbrande/received_events","type":"User","site_admin":false},"body":"##### ISSUE TYPE\r\n - New Module Pull Request\r\n\r\n##### COMPONENT NAME\r\nrhevm\r\n\r\n##### SUMMARY\r\nhttps://github.com/ansible/ansible-modules-extras/pull/165\r\nhttps://github.com/ansible/ansible-modules-extras/pull/319\r\nhttps://github.com/ansible/ansible-modules-extras/pull/1383\r\n\r\nDue to Travis errors, I was unable to merge my previous pull request, is why I totally renewed my repo and had to make a new pull request. I also put in all of the former discussions about this module so you are able to see the history of what already has been said and to make sure we are not restarting the whole thing again.\r\n\r\n\r\n","created_at":"2016-05-10T07:46:36Z","updated_at":"2016-05-25T19:11:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d9b8c9f1dcda0b9ec7df89049e8748e6fc0de0b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/2202/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/2202/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2202/comments","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/a37dbe9e90f1a7203e4684013b89ea82b351d6f4","head":{"label":"TimothyVandenbrande:rhev","ref":"rhev","sha":"a37dbe9e90f1a7203e4684013b89ea82b351d6f4","user":{"login":"TimothyVandenbrande","id":6328839,"avatar_url":"https://avatars.githubusercontent.com/u/6328839?v=3","gravatar_id":"","url":"https://api.github.com/users/TimothyVandenbrande","html_url":"https://github.com/TimothyVandenbrande","followers_url":"https://api.github.com/users/TimothyVandenbrande/followers","following_url":"https://api.github.com/users/TimothyVandenbrande/following{/other_user}","gists_url":"https://api.github.com/users/TimothyVandenbrande/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyVandenbrande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyVandenbrande/subscriptions","organizations_url":"https://api.github.com/users/TimothyVandenbrande/orgs","repos_url":"https://api.github.com/users/TimothyVandenbrande/repos","events_url":"https://api.github.com/users/TimothyVandenbrande/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyVandenbrande/received_events","type":"User","site_admin":false},"repo":{"id":58439925,"name":"ansible-modules-extras","full_name":"TimothyVandenbrande/ansible-modules-extras","owner":{"login":"TimothyVandenbrande","id":6328839,"avatar_url":"https://avatars.githubusercontent.com/u/6328839?v=3","gravatar_id":"","url":"https://api.github.com/users/TimothyVandenbrande","html_url":"https://github.com/TimothyVandenbrande","followers_url":"https://api.github.com/users/TimothyVandenbrande/followers","following_url":"https://api.github.com/users/TimothyVandenbrande/following{/other_user}","gists_url":"https://api.github.com/users/TimothyVandenbrande/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyVandenbrande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyVandenbrande/subscriptions","organizations_url":"https://api.github.com/users/TimothyVandenbrande/orgs","repos_url":"https://api.github.com/users/TimothyVandenbrande/repos","events_url":"https://api.github.com/users/TimothyVandenbrande/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyVandenbrande/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TimothyVandenbrande/ansible-modules-extras","description":"Ansible extra modules - these modules ship with ansible","fork":true,"url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras","forks_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/forks","keys_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/teams","hooks_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/hooks","issue_events_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/issues/events{/number}","events_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/events","assignees_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/assignees{/user}","branches_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/branches{/branch}","tags_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/tags","blobs_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/languages","stargazers_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/stargazers","contributors_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/contributors","subscribers_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/subscribers","subscription_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/subscription","commits_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/contents/{+path}","compare_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/merges","archive_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/downloads","issues_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/issues{/number}","pulls_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/labels{/name}","releases_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/releases{/id}","deployments_url":"https://api.github.com/repos/TimothyVandenbrande/ansible-modules-extras/deployments","created_at":"2016-05-10T07:38:16Z","updated_at":"2016-05-10T07:38:20Z","pushed_at":"2016-05-17T12:28:17Z","git_url":"git://github.com/TimothyVandenbrande/ansible-modules-extras.git","ssh_url":"git@github.com:TimothyVandenbrande/ansible-modules-extras.git","clone_url":"https://github.com/TimothyVandenbrande/ansible-modules-extras.git","svn_url":"https://github.com/TimothyVandenbrande/ansible-modules-extras","homepage":"","size":7373,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"ba4a7a7aa9923cfec20ae67c22bc7329e357da0b","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.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":24474138,"name":"ansible-modules-extras","full_name":"ansible/ansible-modules-extras","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.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-modules-extras","description":"Ansible extra modules - these modules ship with ansible","fork":false,"url":"https://api.github.com/repos/ansible/ansible-modules-extras","forks_url":"https://api.github.com/repos/ansible/ansible-modules-extras/forks","keys_url":"https://api.github.com/repos/ansible/ansible-modules-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible-modules-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible-modules-extras/teams","hooks_url":"https://api.github.com/repos/ansible/ansible-modules-extras/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/events","assignees_url":"https://api.github.com/repos/ansible/ansible-modules-extras/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible-modules-extras/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible-modules-extras/tags","blobs_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible-modules-extras/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible-modules-extras/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible-modules-extras/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible-modules-extras/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible-modules-extras/subscription","commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible-modules-extras/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible-modules-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible-modules-extras/merges","archive_url":"https://api.github.com/repos/ansible/ansible-modules-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible-modules-extras/downloads","issues_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible-modules-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible-modules-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible-modules-extras/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/deployments","created_at":"2014-09-25T20:28:42Z","updated_at":"2016-05-25T00:09:22Z","pushed_at":"2016-05-25T19:11:08Z","git_url":"git://github.com/ansible/ansible-modules-extras.git","ssh_url":"git@github.com:ansible/ansible-modules-extras.git","clone_url":"https://github.com/ansible/ansible-modules-extras.git","svn_url":"https://github.com/ansible/ansible-modules-extras","homepage":"","size":14390,"stargazers_count":593,"watchers_count":593,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1222,"mirror_url":null,"open_issues_count":592,"forks":1222,"open_issues":592,"watchers":593,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/2202"},"html":{"href":"https://github.com/ansible/ansible-modules-extras/pull/2202"},"issue":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2202"},"comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2202/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/2202/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/2202/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/a37dbe9e90f1a7203e4684013b89ea82b351d6f4"}}}}
{"actor":{"display_login":"gundalow"}}