When the include_vars module options were expanded for 2.2, it lost the ability to load YAML files without file extensions in free-form mode. For example:
- name: Include some vars from a file without an extension
include_vars: myvars
results in:
"message": "myvars does not have a valid extension: yaml, yml, json"
This seems like it would be a very common operation which should be supported, especially when this module is used on OSs where file extensions are otherwise optional, or when using with_items to load the contents of directory (the very case that the 2.2 options have made easier).
And regardless, since this module is tagged with stableinterface, this really should not happen.
When the include_vars module options were expanded for 2.2, it lost the ability to load YAML files without file extensions in free-form mode. For example:
results in:
This seems like it would be a very common operation which should be supported, especially when this module is used on OSs where file extensions are otherwise optional, or when using with_items to load the contents of directory (the very case that the 2.2 options have made easier).
And regardless, since this module is tagged with stableinterface, this really should not happen.