mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
committed by
Brian Coca
parent
b005854672
commit
7561aaf619
@@ -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 = '''
|
||||
|
||||
Reference in New Issue
Block a user