Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in ansible-core. When executing modules where tasks or parameters are marked with `no_log: true`, sensitive parameters passed to `module.warn()` or `module.deprecate()` are preserved and printed directly to stdout/stderr in warning and deprecation messages. In `lib/ansible/_internal/_task.py`, the censorship mechanism (`censor_callback_result=True`) explicitly preserves keys such as 'warnings' and 'deprecations' in `PRESERVE`, allowing sensitive data to bypass masking and be logged in plain text.