1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments/57190-improve-warnings-for-when.yaml
Sloane Hertel 21cd24a0dd improve conditional warnings (#57190)
* Fix order for warning on templated conditionals

Fix bare variable warnings when the variable is a boolean

* changelog

* Add tests for cases that should and should not give warnings

If the behavior may change when the default behavior for CONDITIONAL_BARE_VARS becomes False there should be a warning. Boolean type conditionals will not change in behavior so don't warn.

* oops, forgot to add files

* typo
2019-06-03 12:12:32 +02:00

3 lines
239 B
YAML

bugfixes:
- Only warn for bare variables if they are not type boolean (https://github.com/ansible/ansible/issues/53428)
- Fix regression warning on jinja2 delimiters in when statements (https://github.com/ansible/ansible/issues/56830)