Is there a way to prevent debug module not to print passwords.

Hi Team,

I am able to print password using debug module even though the password is marked as secret in the credential type.

Is there a way to prevent debug module to not to print the password when it is marked as secret in credential type?

Eg: playbook.

  • name: Debug pass
    debug: msg: “{{ lookup(‘env’, ‘TOWER_PASSWORD’) }}”

output is attached.

Appreciate your help.

Regards,
Anil

(attachments)

No.