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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.