ansible/changelogs/fragments/conditionals_fix.yml
Brian Coca 4a0fceaa3b remove bare var handling in conditionals (#51030)
* remove bare var handling in conditionals

  this makes top level and multilevel vars (dicts keys) behave the same
  it will require adding |bool for 'string comparissons' in indirect templates

  - added new tests to ensure uniform handling
  - switched to 'is' testing for status
  - changed warning to 'conditional' as 'when:' is not only place it gets triggered

* updated to include toggle and deprecation

* fix deprecated

* updated tests to handle toggle

* fixed typo and added note about the future
2019-01-30 15:00:24 -05:00

3 lines
263 B
YAML

bugfixes:
- remove bare var handling from conditionals (not needed since we removed bare vars from `with_` loops) to normalize handling of
variable values, no matter if the string value comes from a top level variable or from a dictionary key or subkey