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 d1846425db
Provide a way to explicitly invoke the debugger (#34006)
* Provide a way to explicitly invoke the debugger with in the debug strategy

* Merge the debugger strategy into StrategyBase

* Fix some logic, pin to a single result

* Make redo also continue

* Make sure that if the debug closure doesn't need to process the result, that we still return it

* Fix failing tests for the strategy

* Clean up messages from debugger and exit code to match bin/ansible

* Move the FieldAttribute higher, to apply at different levels

* make debugger a string, expand logic

* Better host state rollbacks

* More explicit debugger prompt

* ENABLE_TASK_DEBUGGER should be boolean, and better docs

* No bare except, add pprint, alias h, vars to task_vars

* _validate_debugger can ignore non-string, that can be caught later

* Address issue if there were no previous tasks/state, and use the correct key

* Update docs for changes to the debugger

* Guard against a stat going negative through use of decrement

* Add a few notes about using the debugger on the free strategy

* Add changelog entry for task debugger

* Add a few versionadded indicators and a note about vars -> task_vars
2018-01-09 13:50:07 -06:00
..
role Remove uses of assert in production code (#32079) 2017-11-13 11:51:18 -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 Provide a way to explicitly invoke the debugger (#34006) 2018-01-09 13:50:07 -06:00
become.py leftover from porting become to v2 that's unused 2017-07-24 10:12:17 -07:00
block.py Don't use getattr in _get_parent_attribute to avoid recursion issues (#33595) 2018-01-05 21:51:44 -05:00
conditional.py Don't use getattr in _get_parent_attribute to avoid recursion issues (#33595) 2018-01-05 21:51:44 -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 Make include_x inheritance more congruent with docs (#32769) 2017-11-30 16:16:10 -06:00
included_file.py removed unused objects from include results proc 2018-01-04 11:20:56 -05:00
loop_control.py simpler loop_control defaults (#34008) 2017-12-21 07:28:38 +10:00
play.py normalize names 2017-12-11 18:20:04 -05:00
play_context.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
playbook_include.py normalize names 2017-12-11 18:20:04 -05:00
role_include.py Make include_x inheritance more congruent with docs (#32769) 2017-11-30 16:16:10 -06:00
taggable.py Don't use getattr in _get_parent_attribute to avoid recursion issues (#33595) 2018-01-05 21:51:44 -05:00
task.py Don't use getattr in _get_parent_attribute to avoid recursion issues (#33595) 2018-01-05 21:51:44 -05:00
task_include.py Make include_x inheritance more congruent with docs (#32769) 2017-11-30 16:16:10 -06:00