You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible/utils
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
6 years ago
..
module_docs_fragments Update vmware.py minor typo (#51047) 6 years ago
__init__.py limit extensions for files in group/host_vars dir 10 years ago
_build_helpers.py plugin_formatter.py: Improve the output when processing docs (#46541) 6 years ago
cmd_functions.py ansible/utils/: PEP8 compliancy (#24686) 8 years ago
color.py Fix several things causing tracebacks with unicode cwd (#27731) 7 years ago
context_objects.py Move the arguments module into cli/ and context_objects into utils 6 years ago
display.py Update bare exceptions to specify Exception. 6 years ago
encrypt.py Minor typos (#50371) 6 years ago
hashing.py Enable additional pylint rules and resolve issues found. (#47221) 6 years ago
helpers.py skip all hidden keys, allow exclude list 7 years ago
jsonrpc.py Remove cliconf from httpapi connection (#46813) 6 years ago
listify.py Python 3.8 collections compatibility fixes. 6 years ago
path.py fix paths to actually be config file relative (#31533) 7 years ago
plugin_docs.py faster config loading (#48333) 6 years ago
py3compat.py Python 3.8 collections compatibility fixes. 6 years ago
sentinel.py Fieldattribute inheritance with defaults (#50891) 6 years ago
shlex.py Update module_utils.six to latest (#22855) 8 years ago
singleton.py Add a Singleton metaclass, use it with Display (#48935) 6 years ago
ssh_functions.py Fix encoding error with path to ssh 7 years ago
unicode.py Remove deprecated code (#34828) 7 years ago
unsafe_proxy.py Handle sets differently than lists in wrap_var. Fixes #47372 (#47510) 6 years ago
vars.py Save the command line arguments into a global context 6 years ago