{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/16821","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/16821/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/16821/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/16821/events","html_url":"https://github.com/ansible/ansible/issues/16821","id":167387657,"number":16821,"title":"`ansible -m include` fails with Unexpected Exception. Error should probably just be \"nope\".","user":{"login":"sourcejedi","id":14057,"avatar_url":"https://avatars.githubusercontent.com/u/14057?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcejedi","html_url":"https://github.com/sourcejedi","followers_url":"https://api.github.com/users/sourcejedi/followers","following_url":"https://api.github.com/users/sourcejedi/following{/other_user}","gists_url":"https://api.github.com/users/sourcejedi/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcejedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcejedi/subscriptions","organizations_url":"https://api.github.com/users/sourcejedi/orgs","repos_url":"https://api.github.com/users/sourcejedi/repos","events_url":"https://api.github.com/users/sourcejedi/events{/privacy}","received_events_url":"https://api.github.com/users/sourcejedi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/affects_1.9","name":"affects_1.9","color":"5319e7"},{"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.0","name":"affects_2.0","color":"5319e7"},{"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.1","name":"affects_2.1","color":"5319e7"},{"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.2","name":"affects_2.2","color":"5319e7"},{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"assignees":[{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ansible/ansible/milestones/8","html_url":"https://github.com/ansible/ansible/milestones/2.2.0","labels_url":"https://api.github.com/repos/ansible/ansible/milestones/8/labels","id":1702615,"number":8,"title":"2.2.0","description":"","creator":{"login":"sivel","id":39340,"avatar_url":"https://avatars.githubusercontent.com/u/39340?v=3","gravatar_id":"","url":"https://api.github.com/users/sivel","html_url":"https://github.com/sivel","followers_url":"https://api.github.com/users/sivel/followers","following_url":"https://api.github.com/users/sivel/following{/other_user}","gists_url":"https://api.github.com/users/sivel/gists{/gist_id}","starred_url":"https://api.github.com/users/sivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sivel/subscriptions","organizations_url":"https://api.github.com/users/sivel/orgs","repos_url":"https://api.github.com/users/sivel/repos","events_url":"https://api.github.com/users/sivel/events{/privacy}","received_events_url":"https://api.github.com/users/sivel/received_events","type":"User","site_admin":false},"open_issues":175,"closed_issues":210,"state":"open","created_at":"2016-04-12T23:10:49Z","updated_at":"2016-09-14T14:53:09Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-07-25T14:59:23Z","updated_at":"2016-09-14T14:53:09Z","closed_at":"2016-09-14T14:53:08Z","body":"##### ISSUE TYPE\r\n - Bug Report\r\n\r\n\r\n##### ANSIBLE VERSION\r\n```\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```\r\n\r\n##### CONFIGURATION\r\n<!---\r\nMention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).\r\n-->\r\n\r\n##### OS / ENVIRONMENT\r\nFedora 23\r\n\r\n##### SUMMARY\r\n`ansible -m include` fails with Unexpected Exception.\r\n\r\n##### STEPS TO REPRODUCE\r\n```\r\nansible -vvv -c local -i \"localhost,\"  all -m include -a /dev/null\r\n```\r\n\r\n##### EXPECTED RESULTS\r\n\r\nObviously I was _trying_ to see if it would work. Failing that, I wouldn't expect an \"Unexpected Exception\"; I'd expect some error message. I get the impression the error is roughly \"nope, this is not a thing, don't to try to do it\".\r\n\r\n##### ACTUAL RESULTS\r\n\r\n```\r\nERROR! Unexpected Exception: 'Task' object has no attribute 'static'\r\nthe full traceback was:\r\n\r\nTraceback (most recent call last):\r\n  File \"bin/ansible\", line 97, in <module>\r\n    exit_code = cli.run()\r\n  File \"/usr/lib/python2.7/site-packages/ansible/cli/adhoc.py\", line 193, in run\r\n    result = self._tqm.run(play)\r\n  File \"/usr/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py\", line 256, in run\r\n    play_return = strategy.run(iterator, play_context)\r\n  File \"/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.py\", line 284, in run\r\n    variable_manager=self._variable_manager\r\n  File \"/usr/lib/python2.7/site-packages/ansible/playbook/included_file.py\", line 90, in process_include_results\r\n    if original_task.static:\r\nAttributeError: 'Task' object has no attribute 'static'\r\n```\r\n\r\nGoogle didn't find any results for this error."},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/247039479","html_url":"https://github.com/ansible/ansible/issues/16821#issuecomment-247039479","issue_url":"https://api.github.com/repos/ansible/ansible/issues/16821","id":247039479,"user":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T14:53:08Z","updated_at":"2016-09-14T14:53:08Z","body":"fixed via ff34f5548ddde266742bee2765f32af2828c5ee7"}}
{"actor":{"display_login":"bcoca"}}