./sysutils/ansible-core, SSH-based configuration management, deployment, and task execution

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.20.1, Package name: ansible-core-2.20.1, Maintainer: pkgsrc-users

Ansible is a radically simple IT automation system. It handles configuration
management, application deployment, cloud provisioning, ad-hoc task execution,
network automation, and multi-node orchestration. Ansible makes complex changes
like zero-downtime rolling updates with load balancers easy.


Master sites:

Filesize: 3235.55 KB

Version history: (Expand)


CVS history: (Expand)


   2025-12-10 13:43:34 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
ansible-core: updated to 2.20.1

v2.20.1

Bugfixes

- Fix ``AnsibleModule.human_to_bytes()``, which was never adjusted after the \ 
standalone ``human_to_bytes()`` got a new parameter ``default_unit`` \ 
(https://github.com/ansible/ansible/pull/85259).
- Variable loading now uses file source instead of variables when invalidly \ 
formmated vars file is loaded.
- ansible-test - The runtime-metadata sanity test now ignores pre-release and \ 
build identifiers in collection versions. This prevents errors if a tombstone \ 
version is ``X.0.0``, while the collection's version is ``X.0.0-prerelease`` \ 
(https://github.com/ansible/ansible/issues/85193)."
- display - Fix ``getuser`` fallback error handling on Python 3.13 and later. \ 
(https://github.com/ansible/ansible/issues/86142)
- first_found - Correct the "Include tasks only if one of the files exists, \ 
otherwise skip" example.
- get_url - fix regex for GNU Digest line which is used in comparing checksums \ 
(https://github.com/ansible/ansible/issues/86132).
- local connection - Fix ``getuser`` fallback error handling on Python 3.13 and \ 
later.

v2.20.0

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.
   2025-10-09 10:07:30 by Thomas Klausner | Files touched by this commit (24)
Log message:
*: remove more references to (removed) Python 3.9
   2025-10-07 12:42:53 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
ansible-core: updated to 2.19.3

v2.19.3

Minor Changes

- fetch_file - add ca_path and cookies parameter arguments \ 
(https://github.com/ansible/ansible/issues/85172).

Bugfixes

- Windows async - Handle running PowerShell modules with trailing data after the \ 
module result
- ansible-doc --list/--list_files/--metadata-dump - fixed relative imports in \ 
nested filter/test plugin files \ 
(https://github.com/ansible/ansible/issues/85753).
- display - Fixed reference to undefined `_DeferredWarningContext` when issuing \ 
early warnings during startup. (https://github.com/ansible/ansible/issues/85886)
- 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.
   2025-09-30 10:06:13 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
ansible-core: updated to 2.19.2

v2.19.2

Minor Changes

- ansible-test - Implement new authentication methods for accessing the Ansible \ 
Core CI service.

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)
- ``ternary`` filter - evaluate values lazily \ 
(https://github.com/ansible/ansible/issues/85743)

v2.19.1

Minor Changes

- AnsibleModule - Add temporary internal monkeypatch-able hook to alter module \ 
result serialization by splitting serialization from ``_return_formatted`` into \ 
``_record_module_result``.
- ansible-test - Improve formatting of generated coverage config file.
- ansible-test - Use OS packages to satisfy controller requirements on FreeBSD \ 
13.5 during managed instance bootstrapping.
- encrypt - check datatype of salt_size in password_hash filter.
- service_facts - handle keyerror exceptions with warning.
- service_facts - warn user about missing service details instead of ignoring.

Bugfixes

- ansible-test - Always exclude the ``tests/output/`` directory from a \ 
collection's code coverage. (https://github.com/ansible/ansible/issues/84244)
- ansible-test - Limit package install retries during managed remote instance \ 
bootstrapping.
- ansible-test - Use a consistent coverage config for all collection testing.
- argspec validation - The ``str`` argspec type treats ``None`` values as empty \ 
string for better consistency with pre-2.19 templating conversions.
- 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.
- 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.
- plugins config, get_option_and_origin now correctly displays the value and \ 
origin of the option.
- 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.
   2025-08-19 18:19:51 by Kimmo Suominen | Files touched by this commit (1)
Log message:
ansible-core: Note the version dependency in the ansible package
   2025-08-19 12:44:40 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
ansible-core: downgraded to 2.18.8 to make it work with ansible
   2025-08-10 10:57:00 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
ansible-core: updated to 2.19.0

v2.19.0

Major Changes

- Jinja plugins - Jinja builtin filter and test plugins are now accessible via \ 
their fully-qualified names ``ansible.builtin.{name}``.
- Task Execution / Forks - Forks no longer inherit stdio from the parent \ 
``ansible-playbook`` process. ``stdout``, ``stderr``, and ``stdin`` within a \ 
worker are detached from the terminal, and non-functional. All needs to access \ 
stdio from a fork for controller side plugins requires use of ``Display``.
- ansible-test - Packages beneath ``module_utils`` can now contain \ 
``__init__.py`` files.
- variables - The type system underlying Ansible's variable storage has been \ 
significantly overhauled and formalized. Attempts to store unsupported Python \ 
object types in variables now more consistently yields early warnings or errors.
- variables - To support new Ansible features, many variable objects are now \ 
represented by subclasses of their respective native Python types. In most \ 
cases, they behave indistinguishably from their original types, but some Python \ 
libraries do not handle builtin object subclasses properly. Custom plugins that \ 
interact with such libraries may require changes to convert and pass the native \ 
types.
   2025-07-18 09:28:15 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ansible-core: updated to 2.18.7

2.18.7

Minor Changes

- ansible-test - Add RHEL 10.0 as a remote platform for testing.

Bugfixes

- ansible-doc will no longer ignore docs for modules without an extension \ 
(https://github.com/ansible/ansible/issues/85279).
- ansible-pull change detection will now work independently of callback or \ 
result format settings.
- ansible-test - Fix Python relative import resolution from ``__init__.py`` \ 
files when using change detection.
- dnf5 - handle all libdnf5 specific exceptions \ 
(https://github.com/ansible/ansible/issues/84634)
- meta - avoid traceback when retrieving the meta task name \ 
(https://github.com/ansible/ansible/issues/85367).
- password lookup - fix acquiring the lock when human-readable FileExistsError \ 
error message is not English.
- user - Set timeout for passphrase interaction.
- user - Update prompt for SSH key passphrase \ 
(https://github.com/ansible/ansible/issues/84484).