{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/982","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/982/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/982/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/982/events","html_url":"https://github.com/ansible/ansible-modules-core/pull/982","id":63645170,"number":982,"title":"add vm disk editing","user":{"login":"tapanswain","id":824585,"avatar_url":"https://avatars.githubusercontent.com/u/824585?v=3","gravatar_id":"","url":"https://api.github.com/users/tapanswain","html_url":"https://github.com/tapanswain","followers_url":"https://api.github.com/users/tapanswain/followers","following_url":"https://api.github.com/users/tapanswain/following{/other_user}","gists_url":"https://api.github.com/users/tapanswain/gists{/gist_id}","starred_url":"https://api.github.com/users/tapanswain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tapanswain/subscriptions","organizations_url":"https://api.github.com/users/tapanswain/orgs","repos_url":"https://api.github.com/users/tapanswain/repos","events_url":"https://api.github.com/users/tapanswain/events{/privacy}","received_events_url":"https://api.github.com/users/tapanswain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bugfix_pull_request","name":"bugfix_pull_request","color":"ded270"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/P3","name":"P3","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-23T07:09:45Z","updated_at":"2015-03-23T15:49:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/982","html_url":"https://github.com/ansible/ansible-modules-core/pull/982","diff_url":"https://github.com/ansible/ansible-modules-core/pull/982.diff","patch_url":"https://github.com/ansible/ansible-modules-core/pull/982.patch"},"body":"need to add new state for adding disk to exiting  vm .  "},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/85057592","html_url":"https://github.com/ansible/ansible-modules-core/pull/982#issuecomment-85057592","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/982","id":85057592,"user":{"login":"tapanswain","id":824585,"avatar_url":"https://avatars.githubusercontent.com/u/824585?v=3","gravatar_id":"","url":"https://api.github.com/users/tapanswain","html_url":"https://github.com/tapanswain","followers_url":"https://api.github.com/users/tapanswain/followers","following_url":"https://api.github.com/users/tapanswain/following{/other_user}","gists_url":"https://api.github.com/users/tapanswain/gists{/gist_id}","starred_url":"https://api.github.com/users/tapanswain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tapanswain/subscriptions","organizations_url":"https://api.github.com/users/tapanswain/orgs","repos_url":"https://api.github.com/users/tapanswain/repos","events_url":"https://api.github.com/users/tapanswain/events{/privacy}","received_events_url":"https://api.github.com/users/tapanswain/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T15:49:18Z","updated_at":"2015-03-23T15:49:18Z","body":"Hi  All,\n\nI am from perl background and use perl sdk for automating the things.\n\nI am recently started  using ansible , while going through  vsphere_guest.py . I could not get the logic how to add disk to exciting vm.\n\ndef reconfigure_vm(vsphere_client, vm, module, esxi, resource_pool, cluster_name, guest, vm_extra_config, vm_hardware, vm_disk, vm_nic, state, force):\n\nif vm_hardware['memory_mb']: -- it works\n\nif vm_hardware['num_cpus']: -- it works\n\nbut where you are call for disk edit , i could see vm_disk parameter in the function. There is no call for this.\n\n\nplease find the link for  perl code,  Need  your help here  to make this working in  vsphere_guest module.\nhttps://github.com/tapanswain/vmware-sdk/blob/master/VMUtil.pm\nhttps://github.com/tapanswain/vmware-sdk/blob/master/vdiskcreate-updated.pl <https://github.com/tapanswain/vmware-sdk/blob/master/vdiskcreate-updated.pl>\n\n\nTapan\n\nFrom: Brian Coca <notifications@github.com<mailto:notifications@github.com>>\nReply-To: ansible/ansible-modules-core <reply@reply.github.com<mailto:reply@reply.github.com>>\nDate: Monday, March 23, 2015 at 7:46 PM\nTo: ansible/ansible-modules-core <ansible-modules-core@noreply.github.com<mailto:ansible-modules-core@noreply.github.com>>\nCc: Tapan Jyoti Swain <tapanswain@juniper.net<mailto:tapanswain@juniper.net>>\nSubject: Re: [ansible-modules-core] Stable 1.9 (#982)\n\n\nit seems you got a bunch of unrelated commits in the request, clean up and resubmit\n\n-\nReply to this email directly or view it on GitHub<https://github.com/ansible/ansible-modules-core/pull/982#issuecomment-85016652>.\n"}}