Bump devel to 2.21 (#85992)

This commit is contained in:
sivel / Matt Martz
2025-10-14 15:35:21 -05:00
committed by GitHub
parent 9fcf1f7c58
commit 726e8d6548
97 changed files with 15 additions and 268 deletions

View File

@@ -1,2 +1,2 @@
ancestor: 2.18.0
ancestor: 2.20.0
releases: {}

View File

@@ -1,2 +0,0 @@
bugfixes:
- include_role - allow host specific values in all ``*_from`` arguments (https://github.com/ansible/ansible/issues/66497)

View File

@@ -1,2 +0,0 @@
minor_changes:
- "ansible-doc - show ``notes``, ``seealso``, and top-level ``version_added`` for role entrypoints (https://github.com/ansible/ansible/pull/81796)."

View File

@@ -1,2 +0,0 @@
bugfixes:
- uri - fix form-multipart file not being found when task is retried (https://github.com/ansible/ansible/issues/85009)

View File

@@ -1,2 +0,0 @@
minor_changes:
- stat module - add SELinux context as a return value, and add a new option to trigger this return, which is False by default. (https://github.com/ansible/ansible/issues/85217).

View File

@@ -1,3 +0,0 @@
bugfixes:
- "ansible-doc - prevent crash when scanning collections in paths that have more than one ``ansible_collections`` in it
(https://github.com/ansible/ansible/issues/84909, https://github.com/ansible/ansible/pull/85361)."

View File

@@ -1,2 +0,0 @@
bugfixes:
- Fix issue where play tags prevented executing notified handlers (https://github.com/ansible/ansible/issues/85475)

View File

@@ -1,2 +0,0 @@
minor_changes:
- deb822_repository - Add automatic installation of the ``python3-debian`` package if it is missing by adding the parameter ``install_python_debian``

View File

@@ -1,2 +0,0 @@
minor_changes:
- "default callback plugin - add option to configure indentation for JSON and YAML output (https://github.com/ansible/ansible/pull/85497)."

View File

@@ -1,2 +0,0 @@
bugfixes:
- callback plugins - improve consistency accessing the Task object's resolved_action attribute.

View File

@@ -1,2 +0,0 @@
bugfixes:
- pip - Fix pip module output so that it returns changed when the only operation is initializing a venv.

View File

@@ -1,3 +0,0 @@
bugfixes:
- >-
``ansible-galaxy collection list`` - fail when none of the configured collection paths exist.

View File

@@ -1,2 +0,0 @@
bugfixes:
- import_tasks - fix templating parent include arguments.

View File

@@ -1,6 +0,0 @@
minor_changes:
- >-
setup - added new subkey ``lvs`` within each entry of ``ansible_facts['vgs']``
to provide complete logical volume data scoped by volume group.
The top level ``lvs`` fact by comparison, deduplicates logical volume names
across volume groups and may be incomplete. (https://github.com/ansible/ansible/issues/85632)

View File

@@ -1,2 +0,0 @@
bugfixes:
- "validate-modules sanity test - fix handling of missing doc fragments (https://github.com/ansible/ansible/pull/85638)."

View File

@@ -1,2 +0,0 @@
bugfixes:
- The ``ansible_failed_task`` variable is now correctly exposed in a rescue section, even when a failing handler is triggered by the ``flush_handlers`` task in the corresponding ``block`` (https://github.com/ansible/ansible/issues/85682)

View File

@@ -1,2 +0,0 @@
bugfixes:
- "``ternary`` filter - evaluate values lazily (https://github.com/ansible/ansible/issues/85743)"

View File

@@ -1,2 +0,0 @@
bugfixes:
- cache plugins - close temp cache file before moving it to fix error on WSL. (https://github.com/ansible/ansible/pull/85816)

View File

@@ -1,2 +0,0 @@
minor_changes:
- ansible-doc - Return a more verbose error message when the ``description`` field is missing.

View File

@@ -1,2 +0,0 @@
minor_changes:
- ansible-test - Implement new authentication methods for accessing the Ansible Core CI service.

View File

@@ -1,2 +0,0 @@
bugfixes:
- ansible-test - Limit package install retries during managed remote instance bootstrapping.

View File

@@ -1,3 +0,0 @@
minor_changes:
- ansible-test - Update test containers.
- ansible-test - Update base/default containers to include Python 3.14.0.

View File

@@ -1,7 +0,0 @@
bugfixes:
- ansible-test - Use a consistent coverage config for all collection testing.
- ansible-test - Always exclude the ``tests/output/`` directory from a collection's code coverage.
(https://github.com/ansible/ansible/issues/84244)
minor_changes:
- ansible-test - Improve formatting of generated coverage config file.

View File

@@ -1,2 +0,0 @@
minor_changes:
- ansible-test - Upgrade to ``coverage`` version 7.10.7 for Python 3.9 and later.

View File

@@ -1,2 +0,0 @@
minor_changes:
- ansible-test - Replace FreeBSD 14.2 with 14.3.

View File

@@ -1,2 +0,0 @@
minor_changes:
- ansible-test - Use OS packages to satisfy controller requirements on FreeBSD 13.5 during managed instance bootstrapping.

View File

@@ -1,2 +0,0 @@
minor_changes:
- ansible-test - Removed support for automatic provisioning of obsolete instances for network-integration tests.

View File

@@ -1,2 +0,0 @@
bugfixes:
- ansible-test - Fix a traceback that can occur when using delegation before the ansible-test temp directory is created.

View File

@@ -1,4 +0,0 @@
minor_changes:
- ansible-test - Upgrade Fedora 41 to Fedora 42.
- ansible-test - Upgrade Alpine 3.21 to 3.22.
- ansible-test - Update Ubuntu containers.

View File

@@ -1,2 +0,0 @@
minor_changes:
- ansible-test - Replace RHEL 9.5 with 9.6.

View File

@@ -1,6 +0,0 @@
minor_changes:
- ansible-test - Update pinned sanity test requirements, including upgrading to pylint 4.0.0.
- ansible-test - Filter out pylint messages for invalid filenames and display a notice when doing so.
- ansible-test - Update astroid imports in custom pylint checkers.
- ansible-test - Default to Python 3.14 in the ``base`` and ``default`` test containers.
- ansible-test - Update pinned ``pip`` version to 25.2.

View File

@@ -1,2 +0,0 @@
minor_changes:
- ansible-test - Update pinned sanity test requirements.

View File

@@ -1,3 +0,0 @@
---
bugfixes:
- apt - mark dependencies installed as part of deb file installation as auto (https://github.com/ansible/ansible/issues/78123).

View File

@@ -1,3 +0,0 @@
---
minor_changes:
- apt_repository - use correct debug method to print debug message.

View File

@@ -1,2 +0,0 @@
minor_changes:
- blockinfile - add new module option ``encoding`` to support files in encodings other than UTF-8 (https://github.com/ansible/ansible/pull/85291).

View File

@@ -1,3 +0,0 @@
bugfixes:
- templating - Multi-node template results coerce embedded ``None`` nodes to empty string (instead of rendering literal ``None`` to the output).
- argspec validation - The ``str`` argspec type treats ``None`` values as empty string for better consistency with pre-2.19 templating conversions.

View File

@@ -1,2 +0,0 @@
minor_changes:
- DataLoader - Update ``DataLoader.get_basedir`` to be an abspath

View File

@@ -1,2 +0,0 @@
deprecated_features:
- Deprecate the ``ansible.module_utils.six`` module. Use the Python standard library equivalent instead.

View File

@@ -1,3 +0,0 @@
deprecated_features:
- INJECT_FACTS_AS_VARS configuration currently defaults to ``True``, this is now deprecated and it will switch to ``False`` by Ansible 2.24.
You will only get notified if you are accessing 'injected' facts (for example, ansible_os_distribution vs ansible_facts['os_distribution']).

View File

@@ -1,3 +0,0 @@
bugfixes:
- display - Fixed reference to undefined `_DeferredWarningContext` when issuing early warnings during startup.
(https://github.com/ansible/ansible/issues/85886)

View File

@@ -1,2 +0,0 @@
removed_features:
- dnf/dnf5 - remove deprecated ``install_repoquery`` option.

View File

@@ -1,3 +0,0 @@
---
bugfixes:
- dnf - Check if installroot is directory or not (https://github.com/ansible/ansible/issues/85680).

View File

@@ -1,2 +0,0 @@
removed_features:
- ansible-galaxy - remove support for resolvelib >= 0.5.3, < 0.8.0.

View File

@@ -1,3 +0,0 @@
bugfixes:
- conditionals - When displaying a broken conditional error or deprecation warning,
the origin of the non-boolean result is included (if available), and the raw result is omitted.

View File

@@ -1,3 +0,0 @@
---
removed_features:
- encrypt - remove deprecated passlib_or_crypt API.

View File

@@ -1,4 +0,0 @@
bugfixes:
- failed_when - When using ``failed_when`` to suppress an error, the ``exception`` key in the result is renamed to ``failed_when_suppressed_exception``.
This prevents the error from being displayed by callbacks after being suppressed.
(https://github.com/ansible/ansible/issues/85505)

View File

@@ -1,3 +0,0 @@
---
minor_changes:
- fetch_file - add ca_path and cookies parameter arguments (https://github.com/ansible/ansible/issues/85172).

View File

@@ -1,3 +0,0 @@
bugfixes:
- callback plugins - fix displaying the rendered ``ansible_host`` variable with ``delegate_to`` (https://github.com/ansible/ansible/issues/84922).
- ssh connection - fix documented variables for the ``host`` option. Connection options can be configured with delegated variables in general.

View File

@@ -1,2 +0,0 @@
bugfixes:
- fetch - also return ``file`` in the result when changed is ``True`` (https://github.com/ansible/ansible/pull/85729).

View File

@@ -1,2 +0,0 @@
bugfixes:
- ansible-doc --list/--list_files/--metadata-dump - fixed relative imports in nested filter/test plugin files (https://github.com/ansible/ansible/issues/85753).

View File

@@ -1,3 +0,0 @@
bugfixes:
- SIGINT/SIGTERM Handling - Make SIGINT/SIGTERM handling more robust by splitting concerns
between forks and the parent.

View File

@@ -1,2 +0,0 @@
bugfixes:
- script inventory plugin will now show correct 'incorrect' type when doing implicit conversions on groups.

View File

@@ -1,2 +0,0 @@
bugfixes:
- ansible-galaxy - Use the provided import task url, instead of parsing to get the task id and reconstructing the URL

View File

@@ -1,4 +0,0 @@
bugfixes:
- templating - Undefined marker values sourced from the Jinja ``getattr->getitem`` fallback are now accessed correctly,
raising AnsibleUndefinedVariable for user plugins that do not understand markers.
Previously, these values were erroneously returned to user plugin code that had not opted in to marker acceptance.

View File

@@ -1,2 +0,0 @@
bugfixes:
- ansible-galaxy no longer shows the internal protomatter collection when listing.

View File

@@ -1,2 +0,0 @@
bugfixes:
- Do not re-add ``tags`` on blocks from within ``import_tasks``.

View File

@@ -1,3 +0,0 @@
bugfixes:
- Fix traceback when trying to import non-existing file via nested ``import_tasks`` (https://github.com/ansible/ansible/issues/69882)
- Fix issues with keywords being incorrectly validated on ``import_tasks`` (https://github.com/ansible/ansible/issues/85855, https://github.com/ansible/ansible/issues/85856)

View File

@@ -1,6 +0,0 @@
---
deprecated_features:
- include_vars - Specifying 'ignore_files' as a string is deprecated.
minor_changes:
- include_vars - Raise an error if 'ignore_files' is not specified as a list.
- include_vars - Raise an error if 'extensions' is not specified as a list.

View File

@@ -1,3 +0,0 @@
---
minor_changes:
- known_hosts - return rc and stderr when ssh-keygen command fails for further debugging (https://github.com/ansible/ansible/issues/85850).

View File

@@ -1,4 +0,0 @@
known_issues:
- templating - Exceptions raised in a Jinja ``set`` or ``with`` block which are not accessed by the template are ignored in the same manner as undefined values.
- templating - Passing a container created in a Jinja ``set`` or ``with`` block to a method results in a copy of that container.
Mutations to that container which are not returned by the method will be discarded.

View File

@@ -1,2 +0,0 @@
minor_changes:
- lineinfile - add new module option ``encoding`` to support files in encodings other than UTF-8 (https://github.com/ansible/ansible/pull/84999).

View File

@@ -1,2 +0,0 @@
minor_changes:
- AnsibleModule - Add temporary internal monkeypatch-able hook to alter module result serialization by splitting serialization from ``_return_formatted`` into ``_record_module_result``.

View File

@@ -1,4 +0,0 @@
---
minor_changes:
- service_facts - warn user about missing service details instead of ignoring.
- service_facts - handle keyerror exceptions with warning.

View File

@@ -1,2 +0,0 @@
removed_features:
- paramiko - Removed the ``PARAMIKO_HOST_KEY_AUTO_ADD`` and ``PARAMIKO_LOOK_FOR_KEYS`` configuration keys, which were previously deprecated.

View File

@@ -1,3 +0,0 @@
---
minor_changes:
- encrypt - check datatype of salt_size in password_hash filter.

View File

@@ -1,11 +0,0 @@
minor_changes:
- >-
Add tech preview play argument spec validation, which can be
enabled by setting the play keyword ``validate_argspec`` to ``True``
or the name of an argument spec.
When ``validate_argspec`` is set to ``True``, a play ``name`` is
required and used as the argument spec name.
When enabled, the argument spec is loaded from a file matching the
pattern <playbook_name>.meta.yml.
At minimum, this file should contain ``{"argument_specs": {"name": {"options": {}}}}``,
where "name" is the name of the play or configured argument spec.

View File

@@ -1,2 +0,0 @@
bugfixes:
- plugins config, get_option_and_origin now correctly displays the value and origin of the option.

View File

@@ -1,4 +0,0 @@
breaking_changes:
- >-
powershell - Removed code that tried to remote quotes from paths when performing Windows operations like copying
and fetching file. This should not affect normal playbooks unless a value is quoted too many times.

View File

@@ -1,4 +0,0 @@
major_changes:
- ansible - Add support for Python 3.14.
- ansible - Drop support for Python 3.8 on targets.
- ansible - Drop support for Python 3.11 on the controller.

View File

@@ -1,4 +0,0 @@
---
minor_changes:
- regex - Document the match_type fullmatch.
- regex - Ensure that match_type is one of match, fullmatch, or search (https://github.com/ansible/ansible/pull/85629).

View File

@@ -1,2 +0,0 @@
removed_features:
- "ansible-doc - role entrypoint attributes are no longer shown"

View File

@@ -1,2 +0,0 @@
removed_features:
- ansible-galaxy - removed the v2 Galaxy server API. Galaxy servers hosting collections must support v3.

View File

@@ -1,2 +0,0 @@
deprecated_features:
- hash_params function in roles/__init__ is being deprecated as it is not in use.

View File

@@ -1,3 +0,0 @@
---
removed_features:
- py3compat - remove deprecated ``py3compat.environ`` call.

View File

@@ -1,3 +0,0 @@
minor_changes:
- replace - read/write files in text-mode as unicode chars instead of as bytes
and switch regex matching to unicode chars instead of bytes. (https://github.com/ansible/ansible/pull/85785).

View File

@@ -1,2 +0,0 @@
minor_changes:
- ansible-doc adds support for RETURN documentation to support doc fragment plugins

View File

@@ -1,2 +0,0 @@
bugfixes:
- run_command - Fixed premature selector unregistration on empty read from stdout/stderr that caused truncated output or hangs in rare situations.

View File

@@ -1,5 +0,0 @@
deprecated_features:
- >-
Deprecated the shell plugin's ``wrap_for_exec`` function. This API is not used in Ansible or any known collection
and is being removed to simplify the plugin API. Plugin authors should wrap their command to execute within an
explicit shell or other known executable.

View File

@@ -1,3 +0,0 @@
---
minor_changes:
- six - bump six version from 1.16.0 to 1.17.0 (https://github.com/ansible/ansible/issues/85408).

View File

@@ -1,4 +0,0 @@
removed_features:
- >-
Removed the option to set the ``DEFAULT_TRANSPORT`` configuration to ``smart`` that selects the default transport
as either ``ssh`` or ``paramiko`` based on the underlying platform configuraton.

View File

@@ -1,2 +0,0 @@
minor_changes:
- tags now warn when using reserved keywords.

View File

@@ -1,2 +0,0 @@
bugfixes:
- templating - Fix slicing of tuples in templating (https://github.com/ansible/ansible/issues/85606).

View File

@@ -1,6 +0,0 @@
bugfixes:
- template lookup - Skip finalization on the internal templating operation to allow markers to be returned and handled by, e.g. the ``default`` filter.
Previously, finalization tripped markers, causing an exception to end processing of the current template pipeline.
(https://github.com/ansible/ansible/issues/85674)
- templating - Avoid tripping markers within Jinja generated code.
(https://github.com/ansible/ansible/issues/85674)

View File

@@ -1,3 +0,0 @@
bugfixes:
- templating - Ensure filter plugin result processing occurs under the correct call context.
(https://github.com/ansible/ansible/issues/85585)

View File

@@ -1,2 +0,0 @@
minor_changes:
- Python type hints applied to ``to_text`` and ``to_bytes`` functions for better type hint interactions with code utilizing these functions.

View File

@@ -1,4 +0,0 @@
---
bugfixes:
- tqm - use display.error_as_warning instead of self.warning.
- tqm - use display.error_as_warning instead of display.warning_as_error.

View File

@@ -1,3 +0,0 @@
---
minor_changes:
- Added Univention Corporate Server as a part of Debian OS distribution family (https://github.com/ansible/ansible/issues/85490).

View File

@@ -0,0 +1 @@
{}

View File

@@ -1,4 +0,0 @@
removed_features:
- >-
vars plugins - removed the deprecated ``get_host_vars`` or ``get_group_vars`` fallback for vars plugins that do
not inherit from ``BaseVarsPlugin`` and define a ``get_vars`` method.

View File

@@ -1,2 +0,0 @@
deprecated_features:
- vars, the internal variable cache will be removed in 2.24. This cache, once used internally exposes variables in inconsistent states, the 'vars' and 'varnames' lookups should be used instead.

View File

@@ -1,2 +0,0 @@
removed_features:
- "``vault``/``unvault`` filters - remove the deprecated ``vaultid`` parameter."

View File

@@ -1,2 +0,0 @@
minor_changes:
- ansible now warns if you use reserved tags that were only meant for selection and not for use in play.

View File

@@ -1,3 +0,0 @@
bugfixes:
- >-
Windows async - Handle running PowerShell modules with trailing data after the module result

View File

@@ -1,3 +0,0 @@
---
minor_changes:
- wrapt - bump version from 1.15.0 to 1.17.2 (https://github.com/ansible/ansible/issues/85407).

View File

@@ -1,2 +0,0 @@
removed_features:
- yum_repository - remove deprecated ``keepcache`` option.

View File

@@ -17,6 +17,6 @@
from __future__ import annotations
__version__ = '2.20.0.dev0'
__version__ = '2.21.0.dev0'
__author__ = 'Ansible, Inc.'
__codename__ = "Good Times Bad Times"
__codename__ = "TBD"

View File

@@ -233,3 +233,14 @@ test/integration/targets/ansible-test-sanity-pylint/deprecated_thing.py pylint:a
test/integration/targets/ansible-test-sanity-pylint/deprecated_thing.py pylint:ansible-deprecated-date-not-permitted # required to verify plugin against core
test/integration/targets/ansible-test-sanity-pylint/deprecated_thing.py pylint:ansible-deprecated-unnecessary-collection-name # required to verify plugin against core
test/integration/targets/ansible-test-sanity-pylint/deprecated_thing.py pylint:ansible-deprecated-collection-name-not-permitted # required to verify plugin against core
lib/ansible/executor/interpreter_discovery.py pylint:ansible-deprecated-version # TODO: 2.21
lib/ansible/module_utils/basic.py pylint:ansible-deprecated-version # TODO: 2.21
lib/ansible/module_utils/basic.py pylint:ansible-deprecated-version-comment # TODO: 2.21
lib/ansible/module_utils/common/process.py pylint:ansible-deprecated-version # TODO: 2.21
lib/ansible/module_utils/common/validation.py pylint:ansible-deprecated-version # TODO: 2.21
lib/ansible/module_utils/compat/datetime.py pylint:ansible-deprecated-version # TODO: 2.21
lib/ansible/module_utils/compat/paramiko.py pylint:ansible-deprecated-version # TODO: 2.21
lib/ansible/plugins/connection/paramiko_ssh.py pylint:ansible-deprecated-version # TODO: 2.21
lib/ansible/plugins/strategy/__init__.py pylint:ansible-deprecated-version # TODO: 2.21
lib/ansible/modules/git.py validate-modules:ansible-deprecated-version # TODO: 2.21
.github/RELEASE_NAMES.txt release-names # TODO: 2.21