Loading...

Watch: Ansible Core 2.15.0 Released: New Features & Changes

Discover Ansible Core 2.15.0's latest features, improvements, and breaking changes. Includes new modules and key updates for better performance.

Ansible Core 2.15.0

The changelog for version 2.15.0 of Ansible was released on 15th May 2023, a popular open-source automation tool. Here is a summary of the changes listed in the changelog:

1. New Features:

- Added new tech preview dnf5 module

- Added new deb822_repository module

2. Module Improvements:

- Multiprocessing workers have a new mechanism for prompting for user input, instead of direct stdin access

- ansible-galaxy collection install performance and reliability improvements

- ansible-test improved container compatibility with hosts using cgroup v2

3. Bug Fixes:

- Several bug fixes have been implemented in various modules and plugins.

4. Breaking Changes:

- ansible-doc - no longer treat plugins in collections whose name starts with _ as deprecated (#79362).

- ansible-test - Integration tests which depend on specific file permissions when running in an ansible-test managed host environment may require changes. Tests that require permissions other than 755 or 644 may need to be updated to set the necessary permissions as part of the test run.

- ansible-test - The vcenter test plugin now defaults to using a user-provided static configuration instead of the govcsim simulator for collections. Set the ANSIBLE_VCSIM_CONTAINER environment variable to govcsim to use the simulator. Keep in mind that the simulator is deprecated and will be removed in a future release.

- ansible-test sanity - previously plugins and modules in collections whose name started with _ were treated as deprecated, even when they were not marked as deprecated in meta/runtime.yml. This is no longer the case (#79362).

- ansible-test validate-modules - Removed the missing-python-doc error code in validate modules, missing-documentation is used instead for missing PowerShell module documentation.

5. Deprecations:

- The ConnectionBase().\_new_stdin attribute is deprecated, use display.prompt_until(msg) instead.

- ansible-test - The foreman test plugin is now deprecated. It will be removed in a future release.

- ansible-test - The govcsim simulator in the vcenter test plugin is now deprecated. It will be removed in a future release. Users should switch to providing their own test environment through a static configuration file.

- password_hash - deprecate using passlib.hash.hashtype if hashtype isn't in the list of documented choices.

- vars - Specifying a list of dictionaries for vars: is deprecated in favor of specifying a

Read the full tutorial: Ansible Core 2.15.0 Released: New Features & Changes