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/test/units
James Cammarata 43d1ea0cfc Track notified handlers by object rather than simply their name
Due to the fact that roles may be instantiated with different sets of
params (multiple inclusions of the same role or via role dependencies),
simply tracking notified handlers by name does not work. This patch
changes the way we track handler notifications by using the handler
object itself instead of just the name, allowing for multiple internal
instances. Normally this would be bad, but we also modify the way we
search for handlers by first looking at the notifying tasks dependency
chain (ensuring that roles find their own handlers first) and then at
the main list of handlers, using the first match it finds.

This patch also modifies the way we setup the internal list of handlers,
which should allow us to correctly identify if a notified handler exists
more easily.

Fixes #15084
9 years ago
..
errors
executor If we can't squash for any reason, then simply do not optimize the items loop. 9 years ago
inventory
inventory_test_data/group_vars
mock add _load_params debug overrides for module args/file passed on cmdline 9 years ago
module_utils Don't use 'from ansible.module_utils import foo' style here as it breaks (#15756) 9 years ago
modules Fix docker unit test. Not deprecated in 2.1. 9 years ago
parsing New unit tests for #13630 fix 9 years ago
playbook add centrify dzdo escalation (#15219) 9 years ago
plugins Track notified handlers by object rather than simply their name 9 years ago
template
utils
vars Adds 'ansible_check_mode' boolean magic variable 9 years ago
__init__.py