Skip to content

Instantly share code, notes, and snippets.

View tar-xzvff's full-sized avatar
💬

Hikaru ASHINO tar-xzvff

💬
  • SAKURA internet Inc.
  • Japan
View GitHub Profile
@AnatomicJC
AnatomicJC / protect_data.md
Last active February 21, 2026 07:10
Ansible callback plugin to hide sensitive data such as passwords from screen output

With the below settings, each variable content containing vault, pwd or pass will be obfuscated.

In ansible.cfg:

# Enable plugin
[defaults]
stdout_callback = protect_data

[callback_protect_data]