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
Sloane Hertel b3d8cdde5d
fix handling allow_duplicates with the role cache (#82691)
allow_duplicates is not part of the role uniqueness, so the value on the cached role may not match the current role.

* remove the allow_duplicates check from Role.has_run() which operates on the deduplicated role
* check the current role's allow_duplicates value in the strategy

Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
2 months ago
..
_vendor Require `from __future__ import annotations` (#81902) 8 months ago
cli centralize and complete the internal static vars (#82872) 2 months ago
collections Require `from __future__ import annotations` (#81902) 8 months ago
compat Remove Python `< 3.5` `selectors` fallbacks (#81872) 8 months ago
config Fix condition for unquoting configuration strings from ini files (#82388) 2 months ago
errors Require `from __future__ import annotations` (#81902) 8 months ago
executor Allow check mode async task disabling check_mode (#82827) 2 months ago
galaxy Fix traceback and allow installing roles with version None (#81849) 3 months ago
inventory Require `from __future__ import annotations` (#81902) 8 months ago
module_utils Bump bundled distro version to 1.8.0 (#81765) 2 months ago
modules centralize and complete the internal static vars (#82872) 2 months ago
parsing Enable file cache for vaulted host_vars_files vars plugin (#81995) 3 months ago
playbook fix handling allow_duplicates with the role cache (#82691) 2 months ago
plugins fix handling allow_duplicates with the role cache (#82691) 2 months ago
template Fix error when templating an unsafe string leading to a type error in Python (#82675) 3 months ago
utils Remove os.environ compat for py2 and deprecate ansible.utils.py3compat (#82794) 3 months ago
vars centralize and complete the internal static vars (#82872) 2 months ago
__init__.py Require `from __future__ import annotations` (#81902) 8 months ago
__main__.py Require `from __future__ import annotations` (#81902) 8 months ago
constants.py centralize and complete the internal static vars (#82872) 2 months ago
context.py Require `from __future__ import annotations` (#81902) 8 months ago
keyword_desc.yml Fix the strategy plugin description in keywords (#82113) 7 months ago
release.py Require `from __future__ import annotations` (#81902) 8 months ago