{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/18223","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/18223/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/18223/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/18223/events","html_url":"https://github.com/ansible/ansible/issues/18223","id":185748348,"number":18223,"title":"include_vars will only include *.yml, *.yaml, and *.json files but isn't documented as a breaking change","user":{"login":"joelthompson","id":1562980,"avatar_url":"https://avatars.githubusercontent.com/u/1562980?v=3","gravatar_id":"","url":"https://api.github.com/users/joelthompson","html_url":"https://github.com/joelthompson","followers_url":"https://api.github.com/users/joelthompson/followers","following_url":"https://api.github.com/users/joelthompson/following{/other_user}","gists_url":"https://api.github.com/users/joelthompson/gists{/gist_id}","starred_url":"https://api.github.com/users/joelthompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelthompson/subscriptions","organizations_url":"https://api.github.com/users/joelthompson/orgs","repos_url":"https://api.github.com/users/joelthompson/repos","events_url":"https://api.github.com/users/joelthompson/events{/privacy}","received_events_url":"https://api.github.com/users/joelthompson/received_events","type":"User","site_admin":false},"labels":[{"id":437720699,"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.2","name":"affects_2.2","color":"5319e7","default":false},{"id":48276055,"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"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":146,"closed_issues":339,"state":"open","created_at":"2016-04-12T23:10:49Z","updated_at":"2016-11-02T16:24:43Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-10-27T18:41:15Z","updated_at":"2016-11-02T16:45:44Z","closed_at":null,"body":"##### ISSUE TYPE\r\n- Bug Report\r\n\r\n##### COMPONENT NAME\r\n\r\nAction plugins, specifically include_vars action plugin\r\n##### ANSIBLE VERSION\r\n\r\nI'm using 2.2 RC3\r\n\r\n```\r\n$ ansible --version\r\nansible 2.2.0.0\r\n  config file = \r\n  configured module search path = Default w/o overrides\r\n```\r\n##### CONFIGURATION\r\n\r\nN/A\r\n##### OS / ENVIRONMENT\r\n\r\nN/A\r\n##### SUMMARY\r\n\r\n#17207 introduced a requirement that include_vars will only include files with .yaml, .yml, and .json extensions. This breaks some of our existing playbooks that have YAML-formatted vars files without a .yml or .yaml extension.\r\n\r\nFurther, this isn't documented as a breaking change.\r\n##### STEPS TO REPRODUCE\r\n\r\nShould be trivial to reproduce\r\n##### EXPECTED RESULTS\r\n\r\nLoad vars files without the specific set of extensions\r\n##### ACTUAL RESULTS\r\n\r\n```\r\nTASK [include_vars] ************************************************************\r\ntask path: foo.yml:8\r\nfatal: [localhost]: FAILED! => {\r\n    \"ansible_facts\": {}, \r\n    \"changed\": false, \r\n    \"failed\": true, \r\n    \"invocation\": {\r\n        \"module_args\": {\r\n            \"_raw_params\": \"my_vars_files_without_extension\"\r\n        }, \r\n        \"module_name\": \"include_vars\"\r\n    }, \r\n    \"message\": \"my_vars_files_without_extension does not have a valid extension: yaml, yml, json\"\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/257924212","html_url":"https://github.com/ansible/ansible/issues/18223#issuecomment-257924212","issue_url":"https://api.github.com/repos/ansible/ansible/issues/18223","id":257924212,"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-11-02T16:45:44Z","updated_at":"2016-11-02T16:45:44Z","body":"This is a bug, the restriction should only apply to the new feature that allows including directories."}}
{"actor":{"display_login":"bcoca"}}