mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
Update documentation for ignore_unknown_extensions (#50383)
* Example updated * Testcase added Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
b005854672
commit
7561aaf619
3 changed files with 38 additions and 1 deletions
|
@ -122,6 +122,12 @@ EXAMPLES = """
|
|||
dir: vars
|
||||
ignore_files: [bastion.yaml]
|
||||
extensions: [yaml]
|
||||
|
||||
- name: Ignore warnings raised for files with unknown extensions while loading (2.7)
|
||||
include_vars:
|
||||
dir: vars
|
||||
ignore_unknown_extensions: True
|
||||
extensions: ['', 'yaml', 'yml', 'json']
|
||||
"""
|
||||
|
||||
RETURN = '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue