{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/16187","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/16187/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/16187/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/16187/events","html_url":"https://github.com/ansible/ansible/issues/16187","id":159153528,"number":16187,"title":"ansible failed if (other?) version of ansible installed on target host","user":{"login":"olfway","id":32193,"avatar_url":"https://avatars.githubusercontent.com/u/32193?v=3","gravatar_id":"","url":"https://api.github.com/users/olfway","html_url":"https://github.com/olfway","followers_url":"https://api.github.com/users/olfway/followers","following_url":"https://api.github.com/users/olfway/following{/other_user}","gists_url":"https://api.github.com/users/olfway/gists{/gist_id}","starred_url":"https://api.github.com/users/olfway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olfway/subscriptions","organizations_url":"https://api.github.com/users/olfway/orgs","repos_url":"https://api.github.com/users/olfway/repos","events_url":"https://api.github.com/users/olfway/events{/privacy}","received_events_url":"https://api.github.com/users/olfway/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"abadger","id":209242,"avatar_url":"https://avatars.githubusercontent.com/u/209242?v=3","gravatar_id":"","url":"https://api.github.com/users/abadger","html_url":"https://github.com/abadger","followers_url":"https://api.github.com/users/abadger/followers","following_url":"https://api.github.com/users/abadger/following{/other_user}","gists_url":"https://api.github.com/users/abadger/gists{/gist_id}","starred_url":"https://api.github.com/users/abadger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abadger/subscriptions","organizations_url":"https://api.github.com/users/abadger/orgs","repos_url":"https://api.github.com/users/abadger/repos","events_url":"https://api.github.com/users/abadger/events{/privacy}","received_events_url":"https://api.github.com/users/abadger/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-06-08T12:39:59Z","updated_at":"2016-06-09T23:06:00Z","closed_at":null,"body":"##### ISSUE TYPE\r\n - Bug Report\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible 2.1.0.0\r\n  config file = ansible.cfg\r\n  configured module search path = Default w/o overrides\r\n```\r\n\r\n##### SUMMARY\r\nansible cannot execute modules on target host, if other version of ansible installed on it\r\n\r\n##### STEPS TO REPRODUCE\r\n```\r\ntarget: sudo pip install ansible\r\nansible -m ping target\r\n```\r\n\r\n##### ACTUAL RESULTS\r\n```\r\ntarget | FAILED! => {\r\n    \"changed\": false,\r\n    \"failed\": true,\r\n    \"msg\": \"Error: Module unable to locate ANSIBLE_MODULE_ARGS and ANSIBLE_MODULE_CONSTANTS in json data from stdin.  Unable to figure out what parameters were passed\"\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/225052778","html_url":"https://github.com/ansible/ansible/issues/16187#issuecomment-225052778","issue_url":"https://api.github.com/repos/ansible/ansible/issues/16187","id":225052778,"user":{"login":"abadger","id":209242,"avatar_url":"https://avatars.githubusercontent.com/u/209242?v=3","gravatar_id":"","url":"https://api.github.com/users/abadger","html_url":"https://github.com/abadger","followers_url":"https://api.github.com/users/abadger/followers","following_url":"https://api.github.com/users/abadger/following{/other_user}","gists_url":"https://api.github.com/users/abadger/gists{/gist_id}","starred_url":"https://api.github.com/users/abadger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abadger/subscriptions","organizations_url":"https://api.github.com/users/abadger/orgs","repos_url":"https://api.github.com/users/abadger/repos","events_url":"https://api.github.com/users/abadger/events{/privacy}","received_events_url":"https://api.github.com/users/abadger/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T23:05:59Z","updated_at":"2016-06-09T23:05:59Z","body":"I'm unable to reproduce this.\r\n```\r\n$ ansible --version                 [stable-2.1]  (15:56:23)\r\nansible 2.1.0.0\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = Default w/o overrides\r\n$ ansible -m ping -i 'fedora22-test,' all\r\nfedora22-test | SUCCESS => {\r\n    \"changed\": false, \r\n    \"ping\": \"pong\"\r\n```\r\nI've tried with pip installs of ansible==2.1.0, ansible==2.0.2.0, and ansible==1.9.6 on the remote machines.\r\n\r\nThis is a problem that may have occurred with git checkouts of ansible before 2.1.0 final, can you verify what versions of ansible are present on your controller and targets when you run this?"}}
{"actor":{"display_login":"abadger"}}