mirror of https://github.com/ansible/ansible.git
Compare commits
32 Commits
devel
...
v2.20.0rc2
| Author | SHA1 | Date |
|---|---|---|
|
|
f83bccc457 | 1 month ago |
|
|
fb61d54216 | 1 month ago |
|
|
061c504e98 | 1 month ago |
|
|
48789c4efc | 2 months ago |
|
|
f14923276c | 2 months ago |
|
|
5431f258b8 | 2 months ago |
|
|
163a6ec526 | 2 months ago |
|
|
110993bbfd | 2 months ago |
|
|
bdba82ff07 | 2 months ago |
|
|
405e2bf2bf | 2 months ago |
|
|
ed60501603 | 2 months ago |
|
|
d0552b56ef | 2 months ago |
|
|
ab4d37a803 | 2 months ago |
|
|
1b6bcc53b1 | 2 months ago |
|
|
3f7cfd961c | 2 months ago |
|
|
bef8eece4b | 2 months ago |
|
|
cc6a93f23e | 2 months ago |
|
|
59dc766d7d | 2 months ago |
|
|
a4776f850c | 2 months ago |
|
|
4f1fe10921 | 2 months ago |
|
|
ff29cd4ff0 | 2 months ago |
|
|
06f272129c | 2 months ago |
|
|
0f079fd23f | 2 months ago |
|
|
cbeb1da98b | 2 months ago |
|
|
7db5959813 | 2 months ago |
|
|
40b11f86fb | 2 months ago |
|
|
580eb781dc | 2 months ago |
|
|
f23224d7b4 | 2 months ago |
|
|
418746dcfc | 2 months ago |
|
|
48ef23fe4f | 2 months ago |
|
|
00ee6040b6 | 2 months ago |
|
|
21de43ab65 | 2 months ago |
@ -0,0 +1,207 @@
|
|||||||
|
======================================================
|
||||||
|
ansible-core 2.20 "Good Times Bad Times" Release Notes
|
||||||
|
======================================================
|
||||||
|
|
||||||
|
.. contents:: Topics
|
||||||
|
|
||||||
|
v2.20.0rc2
|
||||||
|
==========
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
| Release Date: 2025-10-20
|
||||||
|
| `Porting Guide <https://docs.ansible.com/ansible-core/2.20/porting_guides/porting_guide_core_2.20.html>`__
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- psrp - ReadTimeout exceptions now mark host as unreachable instead of fatal (https://github.com/ansible/ansible/issues/85966)
|
||||||
|
|
||||||
|
v2.20.0rc1
|
||||||
|
==========
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
| Release Date: 2025-10-14
|
||||||
|
| `Porting Guide <https://docs.ansible.com/ansible-core/2.20/porting_guides/porting_guide_core_2.20.html>`__
|
||||||
|
|
||||||
|
Minor Changes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
- ansible-test - Default to Python 3.14 in the ``base`` and ``default`` test containers.
|
||||||
|
- 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 - Update pinned ``pip`` version to 25.2.
|
||||||
|
- ansible-test - Update pinned sanity test requirements, including upgrading to pylint 4.0.0.
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- SIGINT/SIGTERM Handling - Make SIGINT/SIGTERM handling more robust by splitting concerns between forks and the parent.
|
||||||
|
|
||||||
|
v2.20.0b2
|
||||||
|
=========
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
| Release Date: 2025-10-06
|
||||||
|
| `Porting Guide <https://docs.ansible.com/ansible-core/2.20/porting_guides/porting_guide_core_2.20.html>`__
|
||||||
|
|
||||||
|
Minor Changes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
- DataLoader - Update ``DataLoader.get_basedir`` to be an abspath
|
||||||
|
- known_hosts - return rc and stderr when ssh-keygen command fails for further debugging (https://github.com/ansible/ansible/issues/85850).
|
||||||
|
|
||||||
|
Removed Features (previously deprecated)
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
- ansible-galaxy - remove support for resolvelib >= 0.5.3, < 0.8.0.
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- Fix issue where play tags prevented executing notified handlers (https://github.com/ansible/ansible/issues/85475)
|
||||||
|
- Fix issues with keywords being incorrectly validated on ``import_tasks`` (https://github.com/ansible/ansible/issues/85855, https://github.com/ansible/ansible/issues/85856)
|
||||||
|
- Fix traceback when trying to import non-existing file via nested ``import_tasks`` (https://github.com/ansible/ansible/issues/69882)
|
||||||
|
- 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).
|
||||||
|
- fetch - also return ``file`` in the result when changed is ``True`` (https://github.com/ansible/ansible/pull/85729).
|
||||||
|
|
||||||
|
v2.20.0b1
|
||||||
|
=========
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
| Release Date: 2025-09-23
|
||||||
|
| `Porting Guide <https://docs.ansible.com/ansible-core/2.20/porting_guides/porting_guide_core_2.20.html>`__
|
||||||
|
|
||||||
|
Major Changes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
- ansible - Add support for Python 3.14.
|
||||||
|
- ansible - Drop support for Python 3.11 on the controller.
|
||||||
|
- ansible - Drop support for Python 3.8 on targets.
|
||||||
|
|
||||||
|
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.
|
||||||
|
- Added Univention Corporate Server as a part of Debian OS distribution family (https://github.com/ansible/ansible/issues/85490).
|
||||||
|
- AnsibleModule - Add temporary internal monkeypatch-able hook to alter module result serialization by splitting serialization from ``_return_formatted`` into ``_record_module_result``.
|
||||||
|
- Python type hints applied to ``to_text`` and ``to_bytes`` functions for better type hint interactions with code utilizing these functions.
|
||||||
|
- ansible now warns if you use reserved tags that were only meant for selection and not for use in play.
|
||||||
|
- ansible-doc - Return a more verbose error message when the ``description`` field is missing.
|
||||||
|
- ansible-doc - show ``notes``, ``seealso``, and top-level ``version_added`` for role entrypoints (https://github.com/ansible/ansible/pull/81796).
|
||||||
|
- ansible-doc adds support for RETURN documentation to support doc fragment plugins
|
||||||
|
- ansible-test - Implement new authentication methods for accessing the Ansible Core CI service.
|
||||||
|
- ansible-test - Improve formatting of generated coverage config file.
|
||||||
|
- ansible-test - Removed support for automatic provisioning of obsolete instances for network-integration tests.
|
||||||
|
- ansible-test - Replace FreeBSD 14.2 with 14.3.
|
||||||
|
- ansible-test - Replace RHEL 9.5 with 9.6.
|
||||||
|
- ansible-test - Update Ubuntu containers.
|
||||||
|
- ansible-test - Update base/default containers to include Python 3.14.0.
|
||||||
|
- ansible-test - Update pinned sanity test requirements.
|
||||||
|
- ansible-test - Update test containers.
|
||||||
|
- ansible-test - Upgrade Alpine 3.21 to 3.22.
|
||||||
|
- ansible-test - Upgrade Fedora 41 to Fedora 42.
|
||||||
|
- ansible-test - Upgrade to ``coverage`` version 7.10.7 for Python 3.9 and later.
|
||||||
|
- ansible-test - Use OS packages to satisfy controller requirements on FreeBSD 13.5 during managed instance bootstrapping.
|
||||||
|
- apt_repository - use correct debug method to print debug message.
|
||||||
|
- blockinfile - add new module option ``encoding`` to support files in encodings other than UTF-8 (https://github.com/ansible/ansible/pull/85291).
|
||||||
|
- deb822_repository - Add automatic installation of the ``python3-debian`` package if it is missing by adding the parameter ``install_python_debian``
|
||||||
|
- default callback plugin - add option to configure indentation for JSON and YAML output (https://github.com/ansible/ansible/pull/85497).
|
||||||
|
- encrypt - check datatype of salt_size in password_hash filter.
|
||||||
|
- fetch_file - add ca_path and cookies parameter arguments (https://github.com/ansible/ansible/issues/85172).
|
||||||
|
- include_vars - Raise an error if 'extensions' is not specified as a list.
|
||||||
|
- include_vars - Raise an error if 'ignore_files' is not specified as a list.
|
||||||
|
- lineinfile - add new module option ``encoding`` to support files in encodings other than UTF-8 (https://github.com/ansible/ansible/pull/84999).
|
||||||
|
- 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).
|
||||||
|
- 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).
|
||||||
|
- service_facts - handle keyerror exceptions with warning.
|
||||||
|
- service_facts - warn user about missing service details instead of ignoring.
|
||||||
|
- 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)
|
||||||
|
- six - bump six version from 1.16.0 to 1.17.0 (https://github.com/ansible/ansible/issues/85408).
|
||||||
|
- 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).
|
||||||
|
- tags now warn when using reserved keywords.
|
||||||
|
- wrapt - bump version from 1.15.0 to 1.17.2 (https://github.com/ansible/ansible/issues/85407).
|
||||||
|
|
||||||
|
Breaking Changes / Porting Guide
|
||||||
|
--------------------------------
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
- 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']).
|
||||||
|
- hash_params function in roles/__init__ is being deprecated as it is not in use.
|
||||||
|
- include_vars - Specifying 'ignore_files' as a string is deprecated.
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
Removed Features (previously deprecated)
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
- ``vault``/``unvault`` filters - remove the deprecated ``vaultid`` parameter.
|
||||||
|
- ansible-doc - role entrypoint attributes are no longer shown
|
||||||
|
- ansible-galaxy - removed the v2 Galaxy server API. Galaxy servers hosting collections must support v3.
|
||||||
|
- dnf/dnf5 - remove deprecated ``install_repoquery`` option.
|
||||||
|
- encrypt - remove deprecated passlib_or_crypt API.
|
||||||
|
- paramiko - Removed the ``PARAMIKO_HOST_KEY_AUTO_ADD`` and ``PARAMIKO_LOOK_FOR_KEYS`` configuration keys, which were previously deprecated.
|
||||||
|
- py3compat - remove deprecated ``py3compat.environ`` call.
|
||||||
|
- 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.
|
||||||
|
- yum_repository - remove deprecated ``keepcache`` option.
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- Do not re-add ``tags`` on blocks from within ``import_tasks``.
|
||||||
|
- 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)
|
||||||
|
- Windows async - Handle running PowerShell modules with trailing data after the module result
|
||||||
|
- ``ansible-galaxy collection list`` - fail when none of the configured collection paths exist.
|
||||||
|
- ``ternary`` filter - evaluate values lazily (https://github.com/ansible/ansible/issues/85743)
|
||||||
|
- ansible-doc --list/--list_files/--metadata-dump - fixed relative imports in nested filter/test plugin files (https://github.com/ansible/ansible/issues/85753).
|
||||||
|
- ansible-galaxy - Use the provided import task url, instead of parsing to get the task id and reconstructing the URL
|
||||||
|
- ansible-galaxy no longer shows the internal protomatter collection when listing.
|
||||||
|
- ansible-test - Always exclude the ``tests/output/`` directory from a collection's code coverage. (https://github.com/ansible/ansible/issues/84244)
|
||||||
|
- ansible-test - Fix a traceback that can occur when using delegation before the ansible-test temp directory is created.
|
||||||
|
- ansible-test - Limit package install retries during managed remote instance bootstrapping.
|
||||||
|
- ansible-test - Use a consistent coverage config for all collection testing.
|
||||||
|
- apt - mark dependencies installed as part of deb file installation as auto (https://github.com/ansible/ansible/issues/78123).
|
||||||
|
- argspec validation - The ``str`` argspec type treats ``None`` values as empty string for better consistency with pre-2.19 templating conversions.
|
||||||
|
- cache plugins - close temp cache file before moving it to fix error on WSL. (https://github.com/ansible/ansible/pull/85816)
|
||||||
|
- callback plugins - fix displaying the rendered ``ansible_host`` variable with ``delegate_to`` (https://github.com/ansible/ansible/issues/84922).
|
||||||
|
- callback plugins - improve consistency accessing the Task object's resolved_action attribute.
|
||||||
|
- 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.
|
||||||
|
- display - Fixed reference to undefined `_DeferredWarningContext` when issuing early warnings during startup. (https://github.com/ansible/ansible/issues/85886)
|
||||||
|
- dnf - Check if installroot is directory or not (https://github.com/ansible/ansible/issues/85680).
|
||||||
|
- 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)
|
||||||
|
- import_tasks - fix templating parent include arguments.
|
||||||
|
- include_role - allow host specific values in all ``*_from`` arguments (https://github.com/ansible/ansible/issues/66497)
|
||||||
|
- pip - Fix pip module output so that it returns changed when the only operation is initializing a venv.
|
||||||
|
- plugins config, get_option_and_origin now correctly displays the value and origin of the option.
|
||||||
|
- run_command - Fixed premature selector unregistration on empty read from stdout/stderr that caused truncated output or hangs in rare situations.
|
||||||
|
- script inventory plugin will now show correct 'incorrect' type when doing implicit conversions on groups.
|
||||||
|
- ssh connection - fix documented variables for the ``host`` option. Connection options can be configured with delegated variables in general.
|
||||||
|
- 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)
|
||||||
|
- templating - Ensure filter plugin result processing occurs under the correct call context. (https://github.com/ansible/ansible/issues/85585)
|
||||||
|
- templating - Fix slicing of tuples in templating (https://github.com/ansible/ansible/issues/85606).
|
||||||
|
- templating - Multi-node template results coerce embedded ``None`` nodes to empty string (instead of rendering literal ``None`` to the output).
|
||||||
|
- 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.
|
||||||
|
- tqm - use display.error_as_warning instead of display.warning_as_error.
|
||||||
|
- tqm - use display.error_as_warning instead of self.warning.
|
||||||
|
- uri - fix form-multipart file not being found when task is retried (https://github.com/ansible/ansible/issues/85009)
|
||||||
|
- validate-modules sanity test - fix handling of missing doc fragments (https://github.com/ansible/ansible/pull/85638).
|
||||||
|
|
||||||
|
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.
|
||||||
@ -1,2 +1,356 @@
|
|||||||
ancestor: 2.18.0
|
ancestor: 2.18.0
|
||||||
releases: {}
|
releases:
|
||||||
|
2.20.0b1:
|
||||||
|
changes:
|
||||||
|
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.
|
||||||
|
bugfixes:
|
||||||
|
- Do not re-add ``tags`` on blocks from within ``import_tasks``.
|
||||||
|
- 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)
|
||||||
|
- Windows async - Handle running PowerShell modules with trailing data after
|
||||||
|
the module result
|
||||||
|
- '``ansible-galaxy collection list`` - fail when none of the configured collection
|
||||||
|
paths exist.'
|
||||||
|
- '``ternary`` filter - evaluate values lazily (https://github.com/ansible/ansible/issues/85743)'
|
||||||
|
- ansible-doc --list/--list_files/--metadata-dump - fixed relative imports in
|
||||||
|
nested filter/test plugin files (https://github.com/ansible/ansible/issues/85753).
|
||||||
|
- ansible-galaxy - Use the provided import task url, instead of parsing to get
|
||||||
|
the task id and reconstructing the URL
|
||||||
|
- ansible-galaxy no longer shows the internal protomatter collection when listing.
|
||||||
|
- ansible-test - Always exclude the ``tests/output/`` directory from a collection's
|
||||||
|
code coverage. (https://github.com/ansible/ansible/issues/84244)
|
||||||
|
- ansible-test - Fix a traceback that can occur when using delegation before
|
||||||
|
the ansible-test temp directory is created.
|
||||||
|
- ansible-test - Limit package install retries during managed remote instance
|
||||||
|
bootstrapping.
|
||||||
|
- ansible-test - Use a consistent coverage config for all collection testing.
|
||||||
|
- apt - mark dependencies installed as part of deb file installation as auto
|
||||||
|
(https://github.com/ansible/ansible/issues/78123).
|
||||||
|
- argspec validation - The ``str`` argspec type treats ``None`` values as empty
|
||||||
|
string for better consistency with pre-2.19 templating conversions.
|
||||||
|
- cache plugins - close temp cache file before moving it to fix error on WSL.
|
||||||
|
(https://github.com/ansible/ansible/pull/85816)
|
||||||
|
- callback plugins - fix displaying the rendered ``ansible_host`` variable with
|
||||||
|
``delegate_to`` (https://github.com/ansible/ansible/issues/84922).
|
||||||
|
- callback plugins - improve consistency accessing the Task object's resolved_action
|
||||||
|
attribute.
|
||||||
|
- 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.
|
||||||
|
- display - Fixed reference to undefined `_DeferredWarningContext` when issuing
|
||||||
|
early warnings during startup. (https://github.com/ansible/ansible/issues/85886)
|
||||||
|
- dnf - Check if installroot is directory or not (https://github.com/ansible/ansible/issues/85680).
|
||||||
|
- 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)
|
||||||
|
- import_tasks - fix templating parent include arguments.
|
||||||
|
- include_role - allow host specific values in all ``*_from`` arguments (https://github.com/ansible/ansible/issues/66497)
|
||||||
|
- pip - Fix pip module output so that it returns changed when the only operation
|
||||||
|
is initializing a venv.
|
||||||
|
- plugins config, get_option_and_origin now correctly displays the value and
|
||||||
|
origin of the option.
|
||||||
|
- run_command - Fixed premature selector unregistration on empty read from stdout/stderr
|
||||||
|
that caused truncated output or hangs in rare situations.
|
||||||
|
- script inventory plugin will now show correct 'incorrect' type when doing
|
||||||
|
implicit conversions on groups.
|
||||||
|
- ssh connection - fix documented variables for the ``host`` option. Connection
|
||||||
|
options can be configured with delegated variables in general.
|
||||||
|
- 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)
|
||||||
|
- templating - Ensure filter plugin result processing occurs under the correct
|
||||||
|
call context. (https://github.com/ansible/ansible/issues/85585)
|
||||||
|
- templating - Fix slicing of tuples in templating (https://github.com/ansible/ansible/issues/85606).
|
||||||
|
- templating - Multi-node template results coerce embedded ``None`` nodes to
|
||||||
|
empty string (instead of rendering literal ``None`` to the output).
|
||||||
|
- 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.
|
||||||
|
- tqm - use display.error_as_warning instead of display.warning_as_error.
|
||||||
|
- tqm - use display.error_as_warning instead of self.warning.
|
||||||
|
- uri - fix form-multipart file not being found when task is retried (https://github.com/ansible/ansible/issues/85009)
|
||||||
|
- validate-modules sanity test - fix handling of missing doc fragments (https://github.com/ansible/ansible/pull/85638).
|
||||||
|
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.
|
||||||
|
- 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']).
|
||||||
|
- hash_params function in roles/__init__ is being deprecated as it is not in
|
||||||
|
use.
|
||||||
|
- include_vars - Specifying 'ignore_files' as a string is deprecated.
|
||||||
|
- 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.
|
||||||
|
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.
|
||||||
|
major_changes:
|
||||||
|
- ansible - Add support for Python 3.14.
|
||||||
|
- ansible - Drop support for Python 3.11 on the controller.
|
||||||
|
- ansible - Drop support for Python 3.8 on targets.
|
||||||
|
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.'
|
||||||
|
- Added Univention Corporate Server as a part of Debian OS distribution family
|
||||||
|
(https://github.com/ansible/ansible/issues/85490).
|
||||||
|
- AnsibleModule - Add temporary internal monkeypatch-able hook to alter module
|
||||||
|
result serialization by splitting serialization from ``_return_formatted``
|
||||||
|
into ``_record_module_result``.
|
||||||
|
- Python type hints applied to ``to_text`` and ``to_bytes`` functions for better
|
||||||
|
type hint interactions with code utilizing these functions.
|
||||||
|
- ansible now warns if you use reserved tags that were only meant for selection
|
||||||
|
and not for use in play.
|
||||||
|
- ansible-doc - Return a more verbose error message when the ``description``
|
||||||
|
field is missing.
|
||||||
|
- ansible-doc - show ``notes``, ``seealso``, and top-level ``version_added``
|
||||||
|
for role entrypoints (https://github.com/ansible/ansible/pull/81796).
|
||||||
|
- ansible-doc adds support for RETURN documentation to support doc fragment
|
||||||
|
plugins
|
||||||
|
- ansible-test - Implement new authentication methods for accessing the Ansible
|
||||||
|
Core CI service.
|
||||||
|
- ansible-test - Improve formatting of generated coverage config file.
|
||||||
|
- ansible-test - Removed support for automatic provisioning of obsolete instances
|
||||||
|
for network-integration tests.
|
||||||
|
- ansible-test - Replace FreeBSD 14.2 with 14.3.
|
||||||
|
- ansible-test - Replace RHEL 9.5 with 9.6.
|
||||||
|
- ansible-test - Update Ubuntu containers.
|
||||||
|
- ansible-test - Update base/default containers to include Python 3.14.0.
|
||||||
|
- ansible-test - Update pinned sanity test requirements.
|
||||||
|
- ansible-test - Update test containers.
|
||||||
|
- ansible-test - Upgrade Alpine 3.21 to 3.22.
|
||||||
|
- ansible-test - Upgrade Fedora 41 to Fedora 42.
|
||||||
|
- ansible-test - Upgrade to ``coverage`` version 7.10.7 for Python 3.9 and later.
|
||||||
|
- ansible-test - Use OS packages to satisfy controller requirements on FreeBSD
|
||||||
|
13.5 during managed instance bootstrapping.
|
||||||
|
- apt_repository - use correct debug method to print debug message.
|
||||||
|
- blockinfile - add new module option ``encoding`` to support files in encodings
|
||||||
|
other than UTF-8 (https://github.com/ansible/ansible/pull/85291).
|
||||||
|
- deb822_repository - Add automatic installation of the ``python3-debian`` package
|
||||||
|
if it is missing by adding the parameter ``install_python_debian``
|
||||||
|
- default callback plugin - add option to configure indentation for JSON and
|
||||||
|
YAML output (https://github.com/ansible/ansible/pull/85497).
|
||||||
|
- encrypt - check datatype of salt_size in password_hash filter.
|
||||||
|
- fetch_file - add ca_path and cookies parameter arguments (https://github.com/ansible/ansible/issues/85172).
|
||||||
|
- include_vars - Raise an error if 'extensions' is not specified as a list.
|
||||||
|
- include_vars - Raise an error if 'ignore_files' is not specified as a list.
|
||||||
|
- lineinfile - add new module option ``encoding`` to support files in encodings
|
||||||
|
other than UTF-8 (https://github.com/ansible/ansible/pull/84999).
|
||||||
|
- 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).
|
||||||
|
- 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).
|
||||||
|
- service_facts - handle keyerror exceptions with warning.
|
||||||
|
- service_facts - warn user about missing service details instead of ignoring.
|
||||||
|
- 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)
|
||||||
|
- six - bump six version from 1.16.0 to 1.17.0 (https://github.com/ansible/ansible/issues/85408).
|
||||||
|
- 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).
|
||||||
|
- tags now warn when using reserved keywords.
|
||||||
|
- wrapt - bump version from 1.15.0 to 1.17.2 (https://github.com/ansible/ansible/issues/85407).
|
||||||
|
release_summary: '| Release Date: 2025-09-23
|
||||||
|
|
||||||
|
| `Porting Guide <https://docs.ansible.com/ansible-core/2.20/porting_guides/porting_guide_core_2.20.html>`__
|
||||||
|
|
||||||
|
'
|
||||||
|
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.
|
||||||
|
- '``vault``/``unvault`` filters - remove the deprecated ``vaultid`` parameter.'
|
||||||
|
- ansible-doc - role entrypoint attributes are no longer shown
|
||||||
|
- ansible-galaxy - removed the v2 Galaxy server API. Galaxy servers hosting
|
||||||
|
collections must support v3.
|
||||||
|
- dnf/dnf5 - remove deprecated ``install_repoquery`` option.
|
||||||
|
- encrypt - remove deprecated passlib_or_crypt API.
|
||||||
|
- paramiko - Removed the ``PARAMIKO_HOST_KEY_AUTO_ADD`` and ``PARAMIKO_LOOK_FOR_KEYS``
|
||||||
|
configuration keys, which were previously deprecated.
|
||||||
|
- py3compat - remove deprecated ``py3compat.environ`` call.
|
||||||
|
- 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.
|
||||||
|
- yum_repository - remove deprecated ``keepcache`` option.
|
||||||
|
codename: Good Times Bad Times
|
||||||
|
fragments:
|
||||||
|
- 2.20.0b1_summary.yaml
|
||||||
|
- 66497-include_role-_from-dedup.yml
|
||||||
|
- 81796-ansible-doc-roles.yml
|
||||||
|
- 85010-uri-multipart-file-on-retry.yml
|
||||||
|
- 85217-stat-add-selinux-context.yml
|
||||||
|
- 85487-add-dependency-installation-to-deb822_repository.yml
|
||||||
|
- 85497-default-callback-indent.yml
|
||||||
|
- 85524-resolve-task-resolved_action-early.yml
|
||||||
|
- 85556-fix-pip-changed.yml
|
||||||
|
- 85596-hide-proto.yml
|
||||||
|
- 85599-fix-templating-import_tasks-parent-include.yml
|
||||||
|
- 85632-setup-logical-volume-name-uniqueness.yml
|
||||||
|
- 85638-ansible-test-validate-modules-doc-fragments.yml
|
||||||
|
- 85682-rescue-flush_handlers.yml
|
||||||
|
- 85743-lazy-ternary.yml
|
||||||
|
- 85816-wsl-cache-files.yml
|
||||||
|
- ansible-doc-description-verbosity.yml
|
||||||
|
- ansible-test-auth-update.yml
|
||||||
|
- ansible-test-bootstrap-retry.yml
|
||||||
|
- ansible-test-containers.yml
|
||||||
|
- ansible-test-coverage-config.yml
|
||||||
|
- ansible-test-coverage-upgrade.yml
|
||||||
|
- ansible-test-freebsd-14.3.yml
|
||||||
|
- ansible-test-freebsd-bootstrap.yml
|
||||||
|
- ansible-test-ios.yml
|
||||||
|
- ansible-test-missing-dir-fix.yml
|
||||||
|
- ansible-test-remotes.yml
|
||||||
|
- ansible-test-rhel-9.6.yml
|
||||||
|
- ansible-test-sanity-requirements.yml
|
||||||
|
- apt_deb_install.yml
|
||||||
|
- apt_repo_debug.yml
|
||||||
|
- blockinfile-new-module-option-encoding.yml
|
||||||
|
- concat_coerce_none_to_empty.yml
|
||||||
|
- deprecate_inject.yml
|
||||||
|
- display_internals.yml
|
||||||
|
- dnf-remove-install_repoquery.yml
|
||||||
|
- dnf_installroot_dir.yml
|
||||||
|
- elide_broken_conditional_result.yml
|
||||||
|
- encrypt.yml
|
||||||
|
- failed-when-exception.yml
|
||||||
|
- fetch_file.yml
|
||||||
|
- fix-displaying-delegate_to-ansible_host.yml
|
||||||
|
- fix-listing-nested-filter-and-test-plugins.yml
|
||||||
|
- fix_script_error.yml
|
||||||
|
- galaxy-use-import-task-url.yml
|
||||||
|
- getattr_marker_access.yml
|
||||||
|
- hide_proto.yml
|
||||||
|
- import_tasks-dont-readd-tags.yml
|
||||||
|
- include_vars.yml
|
||||||
|
- known_issues_jinja_error.yml
|
||||||
|
- lineinfile-new-module-option-encoding.yml
|
||||||
|
- module_direct_exec.yml
|
||||||
|
- openrc.yml
|
||||||
|
- paramiko-global-config-removal.yml
|
||||||
|
- password_hash_encrypt.yml
|
||||||
|
- play-argument-spec-validation.yml
|
||||||
|
- plugins_fix_origin.yml
|
||||||
|
- powershell-quoting.yml
|
||||||
|
- python-support.yml
|
||||||
|
- regex_test.yml
|
||||||
|
- remove-role-entrypoint-attrs.yml
|
||||||
|
- remove-v2-galaxy-api.yml
|
||||||
|
- remove_hash_params.yml
|
||||||
|
- remove_py3compat.yml
|
||||||
|
- replace-update-string-comparison-method-to-unicode.yml
|
||||||
|
- return_fragments.yml
|
||||||
|
- run_command_output_selector.yml
|
||||||
|
- shell-wrap_for_exec_deprecation.yml
|
||||||
|
- six_1.7.0.yml
|
||||||
|
- smart-transport-removal.yml
|
||||||
|
- tag_u_it.yml
|
||||||
|
- template-tuple-fix.yml
|
||||||
|
- template_lookup_skip_finalize.yml
|
||||||
|
- templating-filter-generators.yml
|
||||||
|
- to-text-to-bytes.yml
|
||||||
|
- tqm.yml
|
||||||
|
- ucs.yml
|
||||||
|
- vars-remove-get_hostgroup_vars.yml
|
||||||
|
- vars_begone.yml
|
||||||
|
- vault-vaultid-removal.yml
|
||||||
|
- warn_reserved_tags.yml
|
||||||
|
- win_async-junk-output.yml
|
||||||
|
- wrapt_1.17.2.yml
|
||||||
|
- yum_repository-remove-keepcache.yml
|
||||||
|
release_date: '2025-09-23'
|
||||||
|
2.20.0b2:
|
||||||
|
changes:
|
||||||
|
bugfixes:
|
||||||
|
- Fix issue where play tags prevented executing notified handlers (https://github.com/ansible/ansible/issues/85475)
|
||||||
|
- Fix issues with keywords being incorrectly validated on ``import_tasks`` (https://github.com/ansible/ansible/issues/85855,
|
||||||
|
https://github.com/ansible/ansible/issues/85856)
|
||||||
|
- Fix traceback when trying to import non-existing file via nested ``import_tasks``
|
||||||
|
(https://github.com/ansible/ansible/issues/69882)
|
||||||
|
- 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).
|
||||||
|
- fetch - also return ``file`` in the result when changed is ``True`` (https://github.com/ansible/ansible/pull/85729).
|
||||||
|
minor_changes:
|
||||||
|
- DataLoader - Update ``DataLoader.get_basedir`` to be an abspath
|
||||||
|
- known_hosts - return rc and stderr when ssh-keygen command fails for further
|
||||||
|
debugging (https://github.com/ansible/ansible/issues/85850).
|
||||||
|
release_summary: '| Release Date: 2025-10-06
|
||||||
|
|
||||||
|
| `Porting Guide <https://docs.ansible.com/ansible-core/2.20/porting_guides/porting_guide_core_2.20.html>`__
|
||||||
|
|
||||||
|
'
|
||||||
|
removed_features:
|
||||||
|
- ansible-galaxy - remove support for resolvelib >= 0.5.3, < 0.8.0.
|
||||||
|
codename: Good Times Bad Times
|
||||||
|
fragments:
|
||||||
|
- 2.20.0b2_summary.yaml
|
||||||
|
- 85361-collection-name-from-path-none.yml
|
||||||
|
- 85475-fix-flush_handlers-play-tags.yml
|
||||||
|
- data-loader-basedir-abspath.yml
|
||||||
|
- drop-resolvelib-lt-0_8_0.yml
|
||||||
|
- fix-fetch-return-file.yml
|
||||||
|
- import_tasks-fixes.yml
|
||||||
|
- known_hosts.yml
|
||||||
|
release_date: '2025-10-06'
|
||||||
|
2.20.0rc1:
|
||||||
|
changes:
|
||||||
|
bugfixes:
|
||||||
|
- SIGINT/SIGTERM Handling - Make SIGINT/SIGTERM handling more robust by splitting
|
||||||
|
concerns between forks and the parent.
|
||||||
|
minor_changes:
|
||||||
|
- ansible-test - Default to Python 3.14 in the ``base`` and ``default`` test
|
||||||
|
containers.
|
||||||
|
- 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 - Update pinned ``pip`` version to 25.2.
|
||||||
|
- ansible-test - Update pinned sanity test requirements, including upgrading
|
||||||
|
to pylint 4.0.0.
|
||||||
|
release_summary: '| Release Date: 2025-10-14
|
||||||
|
|
||||||
|
| `Porting Guide <https://docs.ansible.com/ansible-core/2.20/porting_guides/porting_guide_core_2.20.html>`__
|
||||||
|
|
||||||
|
'
|
||||||
|
codename: Good Times Bad Times
|
||||||
|
fragments:
|
||||||
|
- 2.20.0rc1_summary.yaml
|
||||||
|
- ansible-test-sanity-requirements-again.yml
|
||||||
|
- fix-signal-propagation.yml
|
||||||
|
release_date: '2025-10-14'
|
||||||
|
2.20.0rc2:
|
||||||
|
changes:
|
||||||
|
bugfixes:
|
||||||
|
- psrp - ReadTimeout exceptions now mark host as unreachable instead of fatal
|
||||||
|
(https://github.com/ansible/ansible/issues/85966)
|
||||||
|
release_summary: '| Release Date: 2025-10-20
|
||||||
|
|
||||||
|
| `Porting Guide <https://docs.ansible.com/ansible-core/2.20/porting_guides/porting_guide_core_2.20.html>`__
|
||||||
|
|
||||||
|
'
|
||||||
|
codename: Good Times Bad Times
|
||||||
|
fragments:
|
||||||
|
- 2.20.0rc2_summary.yaml
|
||||||
|
- 85966-psrp-readtimeout.yml
|
||||||
|
release_date: '2025-10-20'
|
||||||
|
|||||||
@ -0,0 +1,3 @@
|
|||||||
|
release_summary: |
|
||||||
|
| Release Date: 2025-09-23
|
||||||
|
| `Porting Guide <https://docs.ansible.com/ansible-core/2.20/porting_guides/porting_guide_core_2.20.html>`__
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
release_summary: |
|
||||||
|
| Release Date: 2025-10-06
|
||||||
|
| `Porting Guide <https://docs.ansible.com/ansible-core/2.20/porting_guides/porting_guide_core_2.20.html>`__
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
release_summary: |
|
||||||
|
| Release Date: 2025-10-14
|
||||||
|
| `Porting Guide <https://docs.ansible.com/ansible-core/2.20/porting_guides/porting_guide_core_2.20.html>`__
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
release_summary: |
|
||||||
|
| Release Date: 2025-10-20
|
||||||
|
| `Porting Guide <https://docs.ansible.com/ansible-core/2.20/porting_guides/porting_guide_core_2.20.html>`__
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
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)."
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- Fix issue where play tags prevented executing notified handlers (https://github.com/ansible/ansible/issues/85475)
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- psrp - ReadTimeout exceptions now mark host as unreachable instead of fatal (https://github.com/ansible/ansible/issues/85966)
|
||||||
@ -1,2 +1,3 @@
|
|||||||
minor_changes:
|
minor_changes:
|
||||||
- ansible-test - Update test containers.
|
- ansible-test - Update test containers.
|
||||||
|
- ansible-test - Update base/default containers to include Python 3.14.0.
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
minor_changes:
|
minor_changes:
|
||||||
- ansible-test - Upgrade to ``coverage`` version 7.10.6 for Python 3.9 and later.
|
- ansible-test - Upgrade to ``coverage`` version 7.10.7 for Python 3.9 and later.
|
||||||
|
|||||||
@ -0,0 +1,6 @@
|
|||||||
|
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.
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
minor_changes:
|
||||||
|
- DataLoader - Update ``DataLoader.get_basedir`` to be an abspath
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
removed_features:
|
||||||
|
- ansible-galaxy - remove support for resolvelib >= 0.5.3, < 0.8.0.
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- fetch - also return ``file`` in the result when changed is ``True`` (https://github.com/ansible/ansible/pull/85729).
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
bugfixes:
|
||||||
|
- SIGINT/SIGTERM Handling - Make SIGINT/SIGTERM handling more robust by splitting concerns
|
||||||
|
between forks and the parent.
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
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)
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
minor_changes:
|
||||||
|
- known_hosts - return rc and stderr when ssh-keygen command fails for further debugging (https://github.com/ansible/ansible/issues/85850).
|
||||||
@ -1,7 +1,6 @@
|
|||||||
plugins/modules/bad.py import
|
plugins/modules/bad.py import
|
||||||
plugins/modules/bad.py pylint:ansible-bad-module-import
|
plugins/modules/bad.py pylint:ansible-bad-module-import
|
||||||
plugins/lookup/bad.py import
|
plugins/lookup/bad.py import
|
||||||
plugins/plugin_utils/check_pylint.py pylint:disallowed-name
|
|
||||||
tests/integration/targets/hello/files/bad.py pylint:ansible-bad-function
|
tests/integration/targets/hello/files/bad.py pylint:ansible-bad-function
|
||||||
tests/integration/targets/hello/files/bad.py pylint:ansible-bad-import
|
tests/integration/targets/hello/files/bad.py pylint:ansible-bad-import
|
||||||
tests/integration/targets/hello/files/bad.py pylint:ansible-bad-import-from
|
tests/integration/targets/hello/files/bad.py pylint:ansible-bad-import-from
|
||||||
|
|||||||
@ -0,0 +1 @@
|
|||||||
|
- import_tasks: does-not-exist.yml
|
||||||
@ -0,0 +1 @@
|
|||||||
|
- include_tasks: bar.yml
|
||||||
@ -0,0 +1 @@
|
|||||||
|
- import_tasks: foo.yml
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
gather_facts: false
|
||||||
|
tasks:
|
||||||
|
- include_role:
|
||||||
|
name: nested_tasks
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
- command: whoami
|
||||||
|
register: r
|
||||||
|
|
||||||
|
- assert:
|
||||||
|
that:
|
||||||
|
- r.stdout == not_available_at_parsing
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
shippable/posix/group4
|
||||||
|
context/controller
|
||||||
|
needs/target/test_utils
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
localhost0
|
||||||
|
localhost1
|
||||||
|
localhost2
|
||||||
|
localhost3
|
||||||
|
localhost4
|
||||||
|
localhost5
|
||||||
|
localhost6
|
||||||
|
localhost7
|
||||||
|
localhost8
|
||||||
|
localhost9
|
||||||
|
|
||||||
|
[all:vars]
|
||||||
|
ansible_connection=local
|
||||||
|
ansible_python_interpreter={{ansible_playbook_python}}
|
||||||
@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
../test_utils/scripts/timeout.py -s SIGINT 3 -- \
|
||||||
|
ansible all -i inventory -m debug -a 'msg={{lookup("pipe", "sleep 33")}}' -f 10
|
||||||
|
if [[ "$?" != "124" ]]; then
|
||||||
|
echo "Process was not terminated due to timeout"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# a short sleep to let processes die
|
||||||
|
sleep 2
|
||||||
|
|
||||||
|
sleeps="$(pgrep -alf 'sleep\ 33')"
|
||||||
|
rc="$?"
|
||||||
|
if [[ "$rc" == "0" ]]; then
|
||||||
|
echo "Found lingering processes:"
|
||||||
|
echo "$sleeps"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
@ -1,7 +1,7 @@
|
|||||||
base image=quay.io/ansible/base-test-container:v2.20-0 python=3.13,3.9,3.10,3.11,3.12,3.14
|
base image=quay.io/ansible/base-test-container:v2.20-2 python=3.14,3.9,3.10,3.11,3.12,3.13
|
||||||
default image=quay.io/ansible/default-test-container:v2.20-0 python=3.13,3.9,3.10,3.11,3.12,3.14 context=collection
|
default image=quay.io/ansible/default-test-container:v2.20-3 python=3.14,3.9,3.10,3.11,3.12,3.13 context=collection
|
||||||
default image=quay.io/ansible/ansible-core-test-container:v2.20-0 python=3.13,3.9,3.10,3.11,3.12,3.14 context=ansible-core
|
default image=quay.io/ansible/ansible-core-test-container:v2.20-3 python=3.14,3.9,3.10,3.11,3.12,3.13 context=ansible-core
|
||||||
alpine322 image=quay.io/ansible/alpine-test-container:3.22-v2.20-0 python=3.12 cgroup=none audit=none
|
alpine322 image=quay.io/ansible/alpine-test-container:3.22-v2.20-1 python=3.12 cgroup=none audit=none
|
||||||
fedora42 image=quay.io/ansible/fedora-test-container:42-v2.20-0 python=3.13 cgroup=v2-only
|
fedora42 image=quay.io/ansible/fedora-test-container:42-v2.20-1 python=3.13 cgroup=v2-only
|
||||||
ubuntu2204 image=quay.io/ansible/ubuntu-test-container:22.04-v2.20-0 python=3.10
|
ubuntu2204 image=quay.io/ansible/ubuntu-test-container:22.04-v2.20-1 python=3.10
|
||||||
ubuntu2404 image=quay.io/ansible/ubuntu-test-container:24.04-v2.20-0 python=3.12
|
ubuntu2404 image=quay.io/ansible/ubuntu-test-container:24.04-v2.20-1 python=3.12
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
# The test-constraints sanity test verifies this file, but changes must be made manually to keep it in up-to-date.
|
# The test-constraints sanity test verifies this file, but changes must be made manually to keep it in up-to-date.
|
||||||
coverage == 7.10.6 ; python_version >= '3.9' and python_version <= '3.14'
|
coverage == 7.10.7 ; python_version >= '3.9' and python_version <= '3.14'
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# edit "sanity.ansible-doc.in" and generate with: hacking/update-sanity-requirements.py --test ansible-doc
|
# edit "sanity.ansible-doc.in" and generate with: hacking/update-sanity-requirements.py --test ansible-doc
|
||||||
Jinja2==3.1.6
|
Jinja2==3.1.6
|
||||||
MarkupSafe==3.0.2
|
MarkupSafe==3.0.3
|
||||||
packaging==25.0
|
packaging==25.0
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.3
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
# edit "sanity.import.plugin.in" and generate with: hacking/update-sanity-requirements.py --test import.plugin
|
# edit "sanity.import.plugin.in" and generate with: hacking/update-sanity-requirements.py --test import.plugin
|
||||||
Jinja2==3.1.6
|
Jinja2==3.1.6
|
||||||
MarkupSafe==3.0.2
|
MarkupSafe==3.0.3
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.3
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
# edit "sanity.import.in" and generate with: hacking/update-sanity-requirements.py --test import
|
# edit "sanity.import.in" and generate with: hacking/update-sanity-requirements.py --test import
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.3
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
# edit "sanity.integration-aliases.in" and generate with: hacking/update-sanity-requirements.py --test integration-aliases
|
# edit "sanity.integration-aliases.in" and generate with: hacking/update-sanity-requirements.py --test integration-aliases
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.3
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
# edit "sanity.pylint.in" and generate with: hacking/update-sanity-requirements.py --test pylint
|
# edit "sanity.pylint.in" and generate with: hacking/update-sanity-requirements.py --test pylint
|
||||||
astroid==3.3.11
|
astroid==4.0.1
|
||||||
dill==0.4.0
|
dill==0.4.0
|
||||||
isort==6.0.1
|
isort==7.0.0
|
||||||
mccabe==0.7.0
|
mccabe==0.7.0
|
||||||
platformdirs==4.4.0
|
platformdirs==4.5.0
|
||||||
pylint==3.3.8
|
pylint==4.0.0
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.3
|
||||||
tomlkit==0.13.3
|
tomlkit==0.13.3
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
# edit "sanity.runtime-metadata.in" and generate with: hacking/update-sanity-requirements.py --test runtime-metadata
|
# edit "sanity.runtime-metadata.in" and generate with: hacking/update-sanity-requirements.py --test runtime-metadata
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.3
|
||||||
voluptuous==0.15.2
|
voluptuous==0.15.2
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
# edit "sanity.validate-modules.in" and generate with: hacking/update-sanity-requirements.py --test validate-modules
|
# edit "sanity.validate-modules.in" and generate with: hacking/update-sanity-requirements.py --test validate-modules
|
||||||
antsibull-docs-parser==1.0.0
|
antsibull-docs-parser==1.0.0
|
||||||
Jinja2==3.1.6
|
Jinja2==3.1.6
|
||||||
MarkupSafe==3.0.2
|
MarkupSafe==3.0.3
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.3
|
||||||
voluptuous==0.15.2
|
voluptuous==0.15.2
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
# edit "sanity.yamllint.in" and generate with: hacking/update-sanity-requirements.py --test yamllint
|
# edit "sanity.yamllint.in" and generate with: hacking/update-sanity-requirements.py --test yamllint
|
||||||
pathspec==0.12.1
|
pathspec==0.12.1
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.3
|
||||||
yamllint==1.37.1
|
yamllint==1.37.1
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
# edit "black.requirements.in" and generate with: hacking/update-sanity-requirements.py --test black
|
# edit "black.requirements.in" and generate with: hacking/update-sanity-requirements.py --test black
|
||||||
black==25.1.0
|
black==25.9.0
|
||||||
click==8.2.1
|
click==8.3.0
|
||||||
mypy_extensions==1.1.0
|
mypy_extensions==1.1.0
|
||||||
packaging==25.0
|
packaging==25.0
|
||||||
pathspec==0.12.1
|
pathspec==0.12.1
|
||||||
platformdirs==4.4.0
|
platformdirs==4.5.0
|
||||||
|
pytokens==0.1.10
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
# edit "deprecated-config.requirements.in" and generate with: hacking/update-sanity-requirements.py --test deprecated-config
|
# edit "deprecated-config.requirements.in" and generate with: hacking/update-sanity-requirements.py --test deprecated-config
|
||||||
Jinja2==3.1.6
|
Jinja2==3.1.6
|
||||||
MarkupSafe==3.0.2
|
MarkupSafe==3.0.3
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.3
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
# edit "pymarkdown.requirements.in" and generate with: hacking/update-sanity-requirements.py --test pymarkdown
|
# edit "pymarkdown.requirements.in" and generate with: hacking/update-sanity-requirements.py --test pymarkdown
|
||||||
application_properties==0.9.0
|
application_properties==0.9.0
|
||||||
Columnar==1.4.1
|
Columnar==1.4.1
|
||||||
pyjson5==1.6.9
|
pyjson5==2.0.0
|
||||||
pymarkdownlnt==0.9.32
|
pymarkdownlnt==0.9.32
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.3
|
||||||
tomli==2.2.1
|
tomli==2.3.0
|
||||||
toolz==1.0.0
|
toolz==1.0.0
|
||||||
typing_extensions==4.15.0
|
typing_extensions==4.15.0
|
||||||
wcwidth==0.2.13
|
wcwidth==0.2.14
|
||||||
|
|||||||
Loading…
Reference in New Issue