Closed solick closed 1 year ago
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
I wanted to save my mysql password in my ansible vault. Unfortunately the role fails here:
TASK [geerlingguy.mysql : Ensure MySQL users are present.] *********************************************************************************************************************************** fatal: [XXX]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
When I save the passwords in a host var file - no problem.
Because no_log is not configurable, it is not possible to use the role with vault saved passwords.
best solution would be to not print the password or make no_log configurable.
UPDATE:
Strange enough, after adding vars_files and link to the vault file explicitly to the playbook the error vanished.