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/lib/ansible/playbook
Matt Martz f474195a3b
Attempt 4: Prevent reparenting a block with itself (#38747)
* More concisely reparent, ensuring we don't go too shallow or too deep in this process. Fixes #38357

* More explicit reparenting, with a short circuit for a common case

* We need new_block to have a parent, otherwise we lose context with this approach

* Remove duplicate parent assignment

* Change callers of Block.copy to not use exclude_parent=True, when including the parent, exclude tasks
2018-04-16 12:33:08 -05:00
..
role Attempt 4: Prevent reparenting a block with itself (#38747) 2018-04-16 12:33:08 -05:00
__init__.py better error on bad playbook encoding 2017-09-14 08:53:15 -07:00
attribute.py Don't use getattr in _get_parent_attribute to avoid recursion issues (#33595) 2018-01-05 21:51:44 -05:00
base.py Support for module param defaults (#22648) 2018-04-05 11:44:51 -04:00
become.py leftover from porting become to v2 that's unused 2017-07-24 10:12:17 -07:00
block.py Attempt 4: Prevent reparenting a block with itself (#38747) 2018-04-16 12:33:08 -05:00
conditional.py Don't overwrite builtin jinja2 filters with tests (#37881) 2018-03-26 12:06:00 -05:00
handler.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
handler_task_include.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
helpers.py Address memory ballooning caused by task caching changes (#35921) 2018-02-08 15:28:07 -08:00
included_file.py Fix name parameter templating in include_role module (#36372) 2018-03-20 14:01:48 -04:00
loop_control.py fix loop_control templating (#36124) 2018-02-14 15:52:19 -05:00
play.py caller to preprocess must be None aware (#33653) 2018-02-08 11:25:20 -06:00
play_context.py Use value of delegated transport for var lookup (#35658) 2018-02-02 17:17:19 +01:00
playbook_include.py better error when wrong type passed to import_play (#36592) 2018-04-12 09:37:04 -04:00
role_include.py Use correct action in warning about missing name 2018-03-29 18:10:00 -04:00
taggable.py add 'never' tag (#34104) 2018-02-07 15:21:55 -08:00
task.py Fix redundant yaml error blurbs on ModArgs parse errors (#36923) 2018-03-19 10:55:29 -04:00
task_include.py Make include_x inheritance more congruent with docs (#32769) 2017-11-30 16:16:10 -06:00