community.general/lib/ansible/playbook
James Cammarata 81aa12eb1b Rework how the Conditional class deals with undefined vars
Previously, the Conditional class did a simple check when an
AnsibleUndefinedVariable error was raised to see if certain strings were
present. This patch tries to be smarter by evaluating the variable contained
in the error string and compared to the defined/not defined conditionals in
the conditional string.

This also modifies the UndefinedError message from HostVars slightly to
match the format returned jinja2 in general, making it easier to match the
error message in the Conditional code.

Fixes #18514
2016-11-22 08:29:58 -06:00
..
role With role params also keep special params in the ds as well as params 2016-11-18 22:15:55 -06:00
__init__.py Convert playbook basedir into unicode at the borders 2016-11-21 09:24:37 -08:00
attribute.py Selectively assign the getter for better performance 2016-08-31 13:33:01 -05:00
base.py Add option to prepend inherited attributes when extending values 2016-11-14 16:33:01 -06:00
become.py Some further cleanup in the meta branch 2016-08-31 13:33:01 -05:00
block.py Add `name` field for Blocks 2016-11-15 11:57:57 -06:00
conditional.py Rework how the Conditional class deals with undefined vars 2016-11-22 08:29:58 -06:00
handler.py FEATURE: handler listeners 2016-06-20 09:30:20 -05:00
handler_task_include.py Fixes #15915: New HandlerTaskInclude Class which can run TaskIncludes inside Handlers 2016-05-22 15:45:55 +02:00
helpers.py Don't copy the parent block of TaskIncludes when loading statically 2016-11-11 08:09:43 -06:00
included_file.py Move tasks/blocks to a single parent model 2016-08-08 15:58:46 -05:00
loop_control.py implemented loop pausing (#17289) 2016-08-31 16:09:37 -04:00
play.py make default strategy configurable (#18394) 2016-11-15 15:36:53 -05:00
play_context.py Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534) 2016-11-17 13:18:29 -08:00
playbook_include.py Don't copy the parent block of TaskIncludes when loading statically 2016-11-11 08:09:43 -06:00
role_include.py fix include_role dynamic path 2016-10-18 13:27:38 -04:00
taggable.py Migrate basestring to a python3 compatible type (#17199) 2016-08-23 13:13:44 -07:00
task.py Performance improvement using in-operator on dicts 2016-11-17 12:33:04 -05:00
task_include.py Several fixes for includes 2016-08-11 14:07:49 -05:00
vars.py Making the switch to v2 2015-05-03 21:47:26 -05:00
vars_file.py Making the switch to v2 2015-05-03 21:47:26 -05:00