{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/27756","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/27756/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/27756/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/27756/events","html_url":"https://github.com/ansible/ansible/pull/27756","id":247990003,"number":27756,"title":"Allow wait_for_ip_address when starting a vm without creating a new vm and to mark a template as a VM","user":{"login":"luxusv","id":15687485,"avatar_url":"https://avatars1.githubusercontent.com/u/15687485?v=4","gravatar_id":"","url":"https://api.github.com/users/luxusv","html_url":"https://github.com/luxusv","followers_url":"https://api.github.com/users/luxusv/followers","following_url":"https://api.github.com/users/luxusv/following{/other_user}","gists_url":"https://api.github.com/users/luxusv/gists{/gist_id}","starred_url":"https://api.github.com/users/luxusv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luxusv/subscriptions","organizations_url":"https://api.github.com/users/luxusv/orgs","repos_url":"https://api.github.com/users/luxusv/repos","events_url":"https://api.github.com/users/luxusv/events{/privacy}","received_events_url":"https://api.github.com/users/luxusv/received_events","type":"User","site_admin":false},"labels":[{"id":562292166,"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.4","name":"affects_2.4","color":"ededed","default":false},{"id":61528803,"url":"https://api.github.com/repos/ansible/ansible/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":852590921,"url":"https://api.github.com/repos/ansible/ansible/labels/feature","name":"feature","color":"006b75","default":false},{"id":496359346,"url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":231201931,"url":"https://api.github.com/repos/ansible/ansible/labels/needs_rebase","name":"needs_rebase","color":"eb6420","default":false},{"id":61436281,"url":"https://api.github.com/repos/ansible/ansible/labels/needs_revision","name":"needs_revision","color":"eb6450","default":false},{"id":723150340,"url":"https://api.github.com/repos/ansible/ansible/labels/new_contributor","name":"new_contributor","color":"ededed","default":false},{"id":581543918,"url":"https://api.github.com/repos/ansible/ansible/labels/stale_ci","name":"stale_ci","color":"fef2c0","default":false},{"id":636327968,"url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false},{"id":427121291,"url":"https://api.github.com/repos/ansible/ansible/labels/vmware","name":"vmware","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-08-04T12:20:56Z","updated_at":"2018-04-17T09:36:11Z","closed_at":"2018-04-17T09:36:11Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/27756","html_url":"https://github.com/ansible/ansible/pull/27756","diff_url":"https://github.com/ansible/ansible/pull/27756.diff","patch_url":"https://github.com/ansible/ansible/pull/27756.patch"},"body":"Allow wait_for_ip_address when starting a vm without creating a new vm.\r\nAdd option to mark template as a VM.\r\n\r\n##### SUMMARY\r\n<!--- Describe the change, including rationale and design decisions -->\r\nThe wait_for_ip_address option currently only works when creating a new vm,\r\nthis should also work when starting a VM that has been off for a long time.\r\nThis is done by adding the wait_for_vm_ip function call to the poweredon state and\r\nreturning the full tmp_result instead of failed and changed.\r\n\r\nSecondly the option is added to mark a template as a virtual machine.\r\nThis is done when name and template are the same and is_template is no.\r\nWhen a it's already a vm it will return NotSupported and mark it as not changed.\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 - Feature Pull Request\r\n\r\n\r\n##### COMPONENT NAME\r\n<!--- Name of the module/plugin/module/task -->\r\nvmware_guest\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'/usr/share/ansible/modules']\r\n  python version = 2.7.13 (default, Jun 26 2017, 10:20:05) [GCC 7.1.1 20170622 (Red Hat 7.1.1-3)]\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"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/381922026","html_url":"https://github.com/ansible/ansible/pull/27756#issuecomment-381922026","issue_url":"https://api.github.com/repos/ansible/ansible/issues/27756","id":381922026,"user":{"login":"Akasurde","id":633765,"avatar_url":"https://avatars1.githubusercontent.com/u/633765?v=4","gravatar_id":"","url":"https://api.github.com/users/Akasurde","html_url":"https://github.com/Akasurde","followers_url":"https://api.github.com/users/Akasurde/followers","following_url":"https://api.github.com/users/Akasurde/following{/other_user}","gists_url":"https://api.github.com/users/Akasurde/gists{/gist_id}","starred_url":"https://api.github.com/users/Akasurde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akasurde/subscriptions","organizations_url":"https://api.github.com/users/Akasurde/orgs","repos_url":"https://api.github.com/users/Akasurde/repos","events_url":"https://api.github.com/users/Akasurde/events{/privacy}","received_events_url":"https://api.github.com/users/Akasurde/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T09:36:11Z","updated_at":"2018-04-17T09:36:11Z","author_association":"MEMBER","body":"@luxusv Thanks for reporting back. I will close this and address this issue in separate PR. Thanks for your contribution. "}}
{"actor":{"display_login":"Akasurde"}}