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 8c08d03989
Fieldattribute inheritance with defaults (#50891)
* Add tests for check_mode at play and task level

These test inheritance of check_mode from the various levels (command
line, as a play attribute and as a task attribute) so they will be
useful for checking that the change to fieldattribute inheritance with
defaults works

* Add a sentinel object

The Sentinel object can be used in place of None when we need to mark an
entry as being special (usually used to mark something as not having
been set)

* Start of using a Sentinel object instead of None.

* Handle edge cases around use of Sentinel

* _get_parent_attribute needs to deal in Sentinel not None

* No need to special case any_errors_fatal in task.py any longer

* Handle more edge cases around Sentinel

* Use Sentinel instead of None in TaskInclude

* Update code to clarify the vars we are copying are class attrs

* Add changelog fragment

* Use a default of Sentinel for delegate_to, this also allows 'delegate_to: ~' now to unset inherited delegate_to

* Explain Sentinel stripping in _extend_value

* Fix ModuleArgsParser tests to compare with Sentinel

* Fixes for tasks inside of roles inheriting from play

* Remove incorrect note. ci_complete

* Remove commented code
2019-01-23 11:40:07 -06:00
..
role Fieldattribute inheritance with defaults (#50891) 2019-01-23 11:40:07 -06:00
__init__.py Fix encoding issues with file paths. (#50830) 2019-01-14 13:06:47 -08:00
attribute.py Do not use mutable defaults in FieldAttribute, instead allow supplying a callable for defaults of mutable types. Fixes #46824 (#46833) 2018-10-12 10:43:09 -05:00
base.py Fieldattribute inheritance with defaults (#50891) 2019-01-23 11:40:07 -06:00
become.py Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
block.py Fieldattribute inheritance with defaults (#50891) 2019-01-23 11:40:07 -06:00
conditional.py Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
handler.py Consolidate handler tracking (#49338) 2018-12-11 10:58:19 -05:00
handler_task_include.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
helpers.py Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
included_file.py Give IncludedFile more context via ansible_search_path (#50045) 2019-01-03 16:13:02 -05:00
loop_control.py allows loop pause for subseconds (#50461) 2019-01-18 22:41:29 -05:00
play.py Fieldattribute inheritance with defaults (#50891) 2019-01-23 11:40:07 -06:00
play_context.py Save the command line arguments into a global context 2019-01-03 18:12:23 -08:00
playbook_include.py Do not use mutable defaults in FieldAttribute, instead allow supplying a callable for defaults of mutable types. Fixes #46824 (#46833) 2018-10-12 10:43:09 -05:00
role_include.py added handlers_from (#49220) 2018-12-18 11:28:24 -05:00
taggable.py Allow tags to be templated from a variable (#49833) 2018-12-17 15:40:26 -06:00
task.py Fieldattribute inheritance with defaults (#50891) 2019-01-23 11:40:07 -06:00
task_include.py Fieldattribute inheritance with defaults (#50891) 2019-01-23 11:40:07 -06:00