To display the logs other than secret codes in a task

21 views
Skip to first unread message

Aneesh S

unread,
Jul 16, 2021, 4:04:42 AM7/16/21
to Ansible Project
Hi 
   
   I am using vault for database passwords and used for the execution of database tasks, With no_log, the messages are getting censored. But if in case of any error from MySQL /database also not visible because of this . Is there any way  i can print the output without displaying the passwords . 


Thanks 
Aneesh 

Dick Visser

unread,
Jul 16, 2021, 4:14:58 AM7/16/21
to ansible...@googlegroups.com
I don't think so.
If you really must, then I guess a workaround is to create a temporary
set of credentials, remove no_log, debug the SQL query issue, and then
once it's fixed, revoke the temporary credentials and use the original
ones.
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6c9e07c6-c1dd-40a3-b1f9-2f18484f3b79n%40googlegroups.com.



--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT
Reply all
Reply to author
Forward
0 new messages