{"action":"opened","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1391","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1391/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1391/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1391/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/1391","id":79069251,"number":1391,"title":"vsphere_guest reconfigure powers on VM","user":{"login":"gsatliawol","id":12547630,"avatar_url":"https://avatars.githubusercontent.com/u/12547630?v=3","gravatar_id":"","url":"https://api.github.com/users/gsatliawol","html_url":"https://github.com/gsatliawol","followers_url":"https://api.github.com/users/gsatliawol/followers","following_url":"https://api.github.com/users/gsatliawol/following{/other_user}","gists_url":"https://api.github.com/users/gsatliawol/gists{/gist_id}","starred_url":"https://api.github.com/users/gsatliawol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsatliawol/subscriptions","organizations_url":"https://api.github.com/users/gsatliawol/orgs","repos_url":"https://api.github.com/users/gsatliawol/repos","events_url":"https://api.github.com/users/gsatliawol/events{/privacy}","received_events_url":"https://api.github.com/users/gsatliawol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T16:25:00Z","updated_at":"2015-05-21T16:25:00Z","closed_at":null,"body":"Issue type: Bug Report\r\n\r\nAnsible  Version:  ansible 1.9.1\r\n\r\nAnsible Configuration: \r\n\r\nn/a\r\n\r\nEnvironment: \r\nCentOS 6 -> ESX 5.0.0\r\n\r\nSummary: \r\n\r\nReconfiguring a VM also powers on a powered off VM.  \r\n\r\nSteps to Reproduce: \r\n\r\nRunning the following play:\r\n\r\n      - name: change nic\r\n        vsphere_guest:\r\n          vcenter_hostname: {{ my_vc }}\r\n          username: \"{{ vc_user }}\"\r\n          password: \"{{ vc_pw }}\"\r\n          guest: \"{{ vm_hostname }}\"\r\n          state: reconfigured\r\n          force: yes\r\n          vm_nic:\r\n            nic1:\r\n              type: vmxnet3\r\n              network_type: standard\r\n              network: \"VM Network\"\r\n          vm_hardware:\r\n            memory_mb: 8192 # was 4096\r\n            num_cpus: 2\r\n          esxi:\r\n            datacenter: \"{{ my_dc }}\"\r\n            hostname: \"{{ my_esxhost }}\"\r\n\r\nExpected behaviour: VM is reconfigured, but left powered off\r\n\r\nExhibited behaviour: VM is reconfigured but unexpectedly powers on! \r\n"}}