More specificity in errors for cfg mgr (#48995)

* More specificity in errors for cfg mgr
This commit is contained in:
Brian Coca
2018-12-10 11:38:42 -05:00
committed by GitHub
parent 20270680fc
commit 70ba960f6d
3 changed files with 21 additions and 12 deletions

View File

@@ -7,4 +7,4 @@ set -eux
ANSIBLE_TIMEOUT= ansible -m ping localhost "$@"
# env var is wrong type, this should be a fatal error pointing at the setting
ANSIBLE_TIMEOUT='lola' ansible -m ping localhost "$@" 2>&1|grep 'AnsibleOptionsError: Invalid type for configuration option DEFAULT_TIMEOUT'
ANSIBLE_TIMEOUT='lola' ansible -m ping localhost "$@" 2>&1|grep 'Invalid type for configuration option setting: DEFAULT_TIMEOUT'