Ansible 15.0.0
The Ansible community package 15.0.0 was released on November 17, 2026, and it changes how the tool handles secrets. The release ships ansible-core 2.22.0 and turns automatic secret masking on by default, redacting known secret values from display output, module logging, and task results passed to callback plugins. It also raises the controller floor to Python 3.13, adds three collections, and removes two others.
What Changed
The headline feature is secret masking. Ansible now substitutes $REDACTED$ for values it knows to be sensitive, and the substitution is non-destructive: tasks, conditionals, and registered variables still receive the real value, while rendered output is redacted. Values registered automatically include vault passwords from prompts, files, or scripts; decrypted vault plaintext; --ask-pass and --ask-become-pass input; no_log option values; become passwords for sudo, su, and runas; SSH password and private key options; WinRM and PSRP passwords; the url lookup password; values returned by the password and unvault lookups; and private vars_prompt input.
A new public API, ansible.module_utils.secrets, exposes register_secret(), register_secrets(), and mask_secrets() for values Ansible cannot infer. Plugin configuration gains a secret: true keyword that registers a resolved option automatically, and PowerShell modules get the equivalent Ansible.Secrets module utility. Registration inside a module or worker process propagates back to the controller, so secrets are masked there as well.
The no_log behaviour also changed. Marked options are no longer replaced literally with VALUE_SPECIFIED_IN_NO_LOG_PARAMETER in module results and invocation.module_args. The real value is registered as a secret and masked only in generated output, which means later tasks can still use it.
Breaking Changes to Check
- Log sanitizing removed -
AnsibleModule::log()and automatic invocation logging no longer applyheuristic_log_sanitize(), souser:password@hostin URLs is not rewritten unless the password is a registered secret. - run_command output - the
cmdvalue in failure results is no longer rewritten to hide password-like arguments. Modules that pass secrets on a command line must register them explicitly. - uri results - response keys are no longer rewritten to strip
no_logvalues. Registered secrets are masked in output instead. - ansible-config - all actions now default to
-t all, so plugin-owned sections are validated rather than reported as unknown. Use-t basefor the previous behaviour.
The deprecation list is long and points in the same direction: heuristic_log_sanitize(), remove_values(), and sanitize_keys() are deprecated for removal in ansible-core 2.25, as is returning skipped from a module or action plugin. A future core release will also stop inferring failure from a non-zero rc without a failed key.
Collections and Runtime Support
Ansible 15 adds ansible.mariadb 6.0.2, everpure.flasharray 1.46.0, and everpure.flashblade 1.29.0. It removes cyberark.pas 1.0.39 and netapp.cloudmanager 21.24.0; both remain installable with ansible-galaxy collection install. cisco.ucs is deprecated and scheduled for removal in Ansible 16.
Several bundled collections moved majors: amazon.aws reaches 12.0.0, azure.azcollection jumps from 3.18.0 to 4.2.0, cisco.aci reaches 3.0.0, and cisco.nxos and cisco.iosxr land on 13.0.0. Smaller but widely used collections also moved: community.general 14.0.1, community.docker 5.4.0, community.postgresql 5.1.1, and ansible.windows 3.9.2.
On the controller, Python 3.12 support is gone and Python 3.15 is now supported, so the package requires Python 3.13 or newer. ansible-test swaps in Alpine 3.24, Fedora 44, and Ubuntu 26.04 images and drops Windows Server 2016 remotes.
Why It Matters
Secret masking closes a class of leaks that playbook authors have worked around for years with no_log and custom filters. It is also the largest behavioural change in the release, because output that used to contain sanitized placeholders now contains either the real value or $REDACTED$. Tests and log parsers that assert on VALUE_SPECIFIED_IN_NO_LOG_PARAMETER or on masked URL credentials need updating.
One security note for teams that install core directly: ansible-core 2.22.1, released November 30, fixes CVE-2026-130644 in ansible-galaxy collection install, where the collection name was used to build an installation path before being validated. Ansible 15.0.0 pins core 2.22.0, so direct core users should move to 2.22.1 now.
What's Next
The 15.x series will pick up core 2.22.1 in a maintenance release, and the removal of cisco.ucs is already queued for Ansible 16. Install the package with python3 -m pip install --upgrade ansible==15.0.0, then review the porting guide before rerunning playbooks that depend on sanitized output.