community.general/lib/ansible/playbook
James Cammarata 5b87951d6c Don't copy the parent block of TaskIncludes when loading statically
When loading an include statically, we previously were simply doing a
copy() of the TaskInclude object, which recurses up the parents creating
a new lineage of objects. This caused problems when used inside load_list_of_blocks
as the new parent Block of the new TaskInclude was not actually in the list
of blocks being operated on. In most circumstances, this did not cause a
problem as the new parent block was a proper copy, however when used in
combination with PlaybookInclude (which copies conditionals to the list of
blocks loaded) this untracked parent was not being properly updated, leading
to tasks being run improperly.

Fixes #18206
2016-11-11 08:09:43 -06:00
..
role improved error msg 2016-10-20 16:02:06 -04:00
__init__.py Save and restore the loader's basedir when loading playbooks 2016-05-23 15:04:44 -04:00
attribute.py Selectively assign the getter for better performance 2016-08-31 13:33:01 -05:00
base.py Don't copy the parent block of TaskIncludes when loading statically 2016-11-11 08:09:43 -06:00
become.py Some further cleanup in the meta branch 2016-08-31 13:33:01 -05:00
block.py Don't copy the parent block of TaskIncludes when loading statically 2016-11-11 08:09:43 -06:00
conditional.py Don't copy the parent block of TaskIncludes when loading statically 2016-11-11 08:09:43 -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 restore play_hosts variables to not show removed 2016-11-08 10:51:27 -05:00
play_context.py Add a new potential su prompt 2016-10-24 16:55:54 -07: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 Don't copy the parent block of TaskIncludes when loading statically 2016-11-11 08:09:43 -06: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