make yaml extensions configurable

fixes #25419
This commit is contained in:
Brian Coca 2017-07-13 19:19:34 -04:00 committed by Brian Coca
commit 899527f3cb
2 changed files with 10 additions and 1 deletions

View file

@ -83,4 +83,3 @@ RESTRICTED_RESULT_KEYS = ['ansible_rsync_path', 'ansible_playbook_python']
TREE_DIR = None
VAULT_VERSION_MIN = 1.0
VAULT_VERSION_MAX = 1.0
YAML_FILENAME_EXTENSIONS = [".yml", ".yaml", ".json"] # check all of these extensions when looking for 'variable' files which should be YAML or JSON.