mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
Add ignore_unknown_extensions to include_vars for dir (#35809)
processing to ignore non-valid file extensions Fixes #35745 Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
61c6f4fda1
commit
39f7e055a4
2 changed files with 18 additions and 5 deletions
|
@ -56,6 +56,12 @@ options:
|
|||
description:
|
||||
- List of file extensions to read when using C(dir).
|
||||
default: [yaml, yml, json]
|
||||
ignore_unkown_extensions:
|
||||
version_added: "2.7"
|
||||
description:
|
||||
- Ignore unkown file extensions within the directory. This allows users to specify a directory containing vars files
|
||||
that are intermingled with non vars files extension types (For example, a directory with a README in it and vars files)
|
||||
default: False
|
||||
free-form:
|
||||
description:
|
||||
- This module allows you to specify the 'file' option directly without any other options.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue