community.general/lib/ansible/playbook
Will Thames 23324bdda0 Ensure `when` warning is checked before expanding (#25092)
The `when` condition templating warning should only happen
if the condition itself contains templating, not if variables
in the condition are themselves composed through templating

Before

```
vars:
  x: hello
  y: "{{ x }}"

tasks:
- debug: msg=hello
  when: y
```

would fire a warning because `y` would get expanded to `{{ x }}`.
This checks whether a warning is required prior to expansion.
2017-05-30 15:48:45 -04:00
..
role Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
__init__.py
attribute.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
base.py Avoid default serialization of classes in dump_attrs 2017-05-11 16:28:07 -05:00
become.py Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
block.py Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
conditional.py Ensure `when` warning is checked before expanding (#25092) 2017-05-30 15:48:45 -04:00
handler.py Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
handler_task_include.py Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
helpers.py Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
included_file.py Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
loop_control.py Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
play.py Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
play_context.py Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
playbook_include.py Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
role_include.py PEP 8 whitespace cleanup. (#20783) 2017-01-27 15:45:23 -08:00
taggable.py Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
task.py added versions to dep notices (#24019) 2017-04-27 12:48:31 -04:00
task_include.py