Update documentation for ignore_unknown_extensions (#50383)

* Example updated
* Testcase added

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2019-01-22 23:26:10 +05:30 committed by Brian Coca
parent b005854672
commit 7561aaf619
3 changed files with 38 additions and 1 deletions

View file

@ -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 = '''