{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/44245","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/44245/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/44245/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/44245/events","html_url":"https://github.com/ansible/ansible/issues/44245","id":351065804,"node_id":"MDU6SXNzdWUzNTEwNjU4MDQ=","number":44245,"title":"Unable to find PyVmomi installed with pip","user":{"login":"ChrisD1990","id":7374882,"node_id":"MDQ6VXNlcjczNzQ4ODI=","avatar_url":"https://avatars2.githubusercontent.com/u/7374882?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisD1990","html_url":"https://github.com/ChrisD1990","followers_url":"https://api.github.com/users/ChrisD1990/followers","following_url":"https://api.github.com/users/ChrisD1990/following{/other_user}","gists_url":"https://api.github.com/users/ChrisD1990/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisD1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisD1990/subscriptions","organizations_url":"https://api.github.com/users/ChrisD1990/orgs","repos_url":"https://api.github.com/users/ChrisD1990/repos","events_url":"https://api.github.com/users/ChrisD1990/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisD1990/received_events","type":"User","site_admin":false},"labels":[{"id":835286067,"node_id":"MDU6TGFiZWw4MzUyODYwNjc=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.6","name":"affects_2.6","color":"ededed","default":false},{"id":785271699,"node_id":"MDU6TGFiZWw3ODUyNzE2OTk=","url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":636352796,"node_id":"MDU6TGFiZWw2MzYzNTI3OTY=","url":"https://api.github.com/repos/ansible/ansible/labels/support:core","name":"support:core","color":"ededed","default":false},{"id":427121291,"node_id":"MDU6TGFiZWw0MjcxMjEyOTE=","url":"https://api.github.com/repos/ansible/ansible/labels/vmware","name":"vmware","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":{"login":"Akasurde","id":633765,"node_id":"MDQ6VXNlcjYzMzc2NQ==","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},"assignees":[{"login":"Akasurde","id":633765,"node_id":"MDQ6VXNlcjYzMzc2NQ==","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}],"milestone":null,"comments":14,"created_at":"2018-08-16T05:59:49Z","updated_at":"2018-09-07T11:44:17Z","closed_at":"2018-08-22T09:00:41Z","author_association":"NONE","body":"<!---\r\nVerify first that your issue/request is not already reported on GitHub.\r\nTHIS FORM WILL BE READ BY A MACHINE, COMPLETE ALL SECTIONS AS DESCRIBED.\r\nAlso test if the latest release, and devel branch are affected too.\r\nALWAYS add information AFTER (OUTSIDE) these html comments.\r\nOtherwise it may end up being automatically closed by our bot. -->\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\nwhen i find vmware state with ansible, it will told me .\r\n\r\n```\r\n[localhost]: FAILED! => {\"changed\": false, \"msg\": \"PyVmomi Python module required. Install using \\\"pip install PyVmomi\\\"\"}\r\n```\r\ni have installed PyVmomi  with pip.\r\n\r\n```\r\n[root@Georgeoelv1 ansible]# pip install PyVmomi\r\nRequirement already satisfied: PyVmomi in /usr/lib64/python2.7/site-packages (6.7.0)\r\nRequirement already satisfied: six>=1.7.3 in /usr/lib/python2.7/site-packages (from PyVmomi) (1.9.0)\r\nRequirement already satisfied: requests>=2.3.0 in /usr/lib/python2.7/site-packages (from PyVmomi) (2.19.1)\r\nRequirement already satisfied: idna<2.8,>=2.5 in /usr/lib/python2.7/site-packages (from requests>=2.3.0->PyVmomi) (2.7)\r\nRequirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python2.7/site-packages (from requests>=2.3.0->PyVmomi) (3.0.4)\r\nRequirement already satisfied: urllib3<1.24,>=1.21.1 in /usr/lib/python2.7/site-packages (from requests>=2.3.0->PyVmomi) (1.23)\r\nRequirement already satisfied: certifi>=2017.4.17 in /usr/lib/python2.7/site-packages (from requests>=2.3.0->PyVmomi) (2018.4.16)\r\n```\r\nbelow is my yml file :\r\n\r\n```yaml\r\n-   - name: Revert the given snapshot for virtual machines\r\n-     hosts: localhost\r\n-     tasks:\r\n-       - name: get vm state\r\n-         vmware_guest_find:\r\n-           hostname: \"{{ vcenter_hostname }}\"\r\n-           username: \"{{ vsphere_user }}\"\r\n-           password: \"{{ vsphere_pwd }}\"\r\n-           name: \"{{ vm_name }}\"\r\n-           validate_certs: False\r\n-         register: vm_state\r\n-         until: vm_state.rc == 0\r\n-         retries: 10\r\n-         delay: 15\r\n```\r\n##### ISSUE TYPE\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!--- Insert, BELOW THIS COMMENT, the name of the module, plugin, task or feature.\r\nDo not include extra details here, e.g. \"vyos_command\" not \"the network module vyos_command\" or the full path-->\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste, BELOW THIS COMMENT, verbatim output from \"ansible --version\" between quotes below -->\r\n\r\n```\r\nansible 2.6.2\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /usr/lib/python2.7/site-packages/ansible\r\n  executable location = /usr/bin/ansible\r\n  python version = 2.7.5 (default, Feb 20 2018, 09:19:12) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]**\r\n```\r\n\r\n##### CONFIGURATION\r\n<!--- If using Ansible 2.4 or above, paste, BELOW THIS COMMENT, the results of \"ansible-config dump --only-changed\"\r\nOtherwise, mention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).-->\r\n\r\n##### OS / ENVIRONMENT\r\n<!--- Mention, BELOW THIS COMMENT, the OS you are running Ansible from, and the OS you are\r\nmanaging, or say \"N/A\" for anything that is not platform-specific.\r\nAlso mention the specific version of what you are trying to control,\r\ne.g. if this is a network bug the version of firmware on the network device.-->\r\n\r\n**ANSIBLE_SSH_ARGS(/etc/ansible/ansible.cfg) = -o ControlMaster=auto -o ControlPersist=30m\r\nDEFAULT_EXECUTABLE(/etc/ansible/ansible.cfg) = /bin/sh\r\nDEFAULT_HOST_LIST(/etc/ansible/ansible.cfg) = [u'/etc/ansible/hosts']\r\nDEFAULT_REMOTE_PORT(/etc/ansible/ansible.cfg) = 22\r\nDEFAULT_REMOTE_USER(/etc/ansible/ansible.cfg) = root\r\nDEFAULT_SUDO_USER(/etc/ansible/ansible.cfg) = root\r\nDEFAULT_TIMEOUT(/etc/ansible/ansible.cfg) = 120\r\nDEPRECATION_WARNINGS(/etc/ansible/ansible.cfg) = False**\r\n\r\n##### STEPS TO REPRODUCE\r\n<!--- For bugs, show exactly how to reproduce the problem, using a minimal test-case.\r\nFor new features, show how the feature would be used. -->\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\n\r\n```\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- What did you expect to happen when running the steps above? -->\r\n\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\n\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/419414330","html_url":"https://github.com/ansible/ansible/issues/44245#issuecomment-419414330","issue_url":"https://api.github.com/repos/ansible/ansible/issues/44245","id":419414330,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTQxNDMzMA==","user":{"login":"fedelemantuano","id":2412951,"node_id":"MDQ6VXNlcjI0MTI5NTE=","avatar_url":"https://avatars2.githubusercontent.com/u/2412951?v=4","gravatar_id":"","url":"https://api.github.com/users/fedelemantuano","html_url":"https://github.com/fedelemantuano","followers_url":"https://api.github.com/users/fedelemantuano/followers","following_url":"https://api.github.com/users/fedelemantuano/following{/other_user}","gists_url":"https://api.github.com/users/fedelemantuano/gists{/gist_id}","starred_url":"https://api.github.com/users/fedelemantuano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedelemantuano/subscriptions","organizations_url":"https://api.github.com/users/fedelemantuano/orgs","repos_url":"https://api.github.com/users/fedelemantuano/repos","events_url":"https://api.github.com/users/fedelemantuano/events{/privacy}","received_events_url":"https://api.github.com/users/fedelemantuano/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T11:44:17Z","updated_at":"2018-09-07T11:44:17Z","author_association":"CONTRIBUTOR","body":"ok @Im0 thanks for reply."}}
{"actor":{"display_login":"fedelemantuano"}}