|
|
|
@ -319,14 +319,14 @@ COLOR_WARN:
|
|
|
|
|
env: [{name: ANSIBLE_COLOR_WARN}]
|
|
|
|
|
ini:
|
|
|
|
|
- {key: warn, section: colors}
|
|
|
|
|
CONDITINAL_BARE_VARS:
|
|
|
|
|
CONDITIONAL_BARE_VARS:
|
|
|
|
|
name: Allow bare variable evaluation in conditionals
|
|
|
|
|
default: True
|
|
|
|
|
type: boolean
|
|
|
|
|
description:
|
|
|
|
|
- With this setting on (True), runing conditional evaluation 'var' is treated differently 'var.subkey' as the first is evaluted
|
|
|
|
|
directly while the second goes though the Jinja2 parser. But 'false' strings in 'var' get evaluated as booleans.
|
|
|
|
|
- With this settting off they both evalutate the same but in cases in which 'var' was 'false' (a string) it won't get evaluated as a boolean anymore.
|
|
|
|
|
- With this setting on (True), running conditional evaluation 'var' is treated differently than 'var.subkey' as the first is evaluated
|
|
|
|
|
directly while the second goes through the Jinja2 parser. But 'false' strings in 'var' get evaluated as booleans.
|
|
|
|
|
- With this setting off they both evaluate the same but in cases in which 'var' was 'false' (a string) it won't get evaluated as a boolean anymore.
|
|
|
|
|
- Currently this setting defaults to 'True' but will soon change to 'False' and the setting itself will be removed in the future.
|
|
|
|
|
- Expect the default to change in version 2.10 and that this setting eventually will be deprecated after 2.12
|
|
|
|
|
env: [{name: ANSIBLE_CONDITIONAL_BARE_VARS}]
|
|
|
|
|