-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brocade_facts: Credential user name is redacted from brocade_security_user_config facts #140
Comments
These security logging parameters are masked by Ansible itself during the facts, nothing is done in the modules. What is the FOS Switch release? |
I tried to set "no_log: false" in the playbook but it didn't make any difference. I don't think that setting can override "secured" variables from the module code. Tested with FOS 8.2.3d and 9.1.1c The actual name is the one used in |
Taking our fos_user_name out of the credentials and treating it as different is working fine. Please let us know if it works for you with these changes:
Please let us know if it resolves this issue. |
The proposed fix works. |
I suggest to following change to keep the current structure of the credential object intact, while still be able to mute the password.
|
Thanks for the confirmation and suggestion. Sure, we will handle it in the proposed way so that no need to change existing playbooks. This will be handled in the next release. |
This approach proposed here is implemented in FOSAnsible release 2.0.0. |
When collecting switch information with the brocade_facts module, the name of the user that is used for login is replaced by "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER". I am using Ansible Galaxy collection version 1.3.3.
Task:
Output
The text was updated successfully, but these errors were encountered: