Skip to content
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

fix: add no_log attribute to update_password variable #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rvalab
Copy link

@rvalab rvalab commented Aug 6, 2024

SUMMARY

Add no_log attribute to update_password variable to avoid warning from Ansible during execution.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

netapp.storagegrid.na_sg_org_user

ADDITIONAL INFORMATION

When using netapp.storagegrid.na_sg_org_user module, there is a warning displayed at every execution:

[WARNING]: Module did not set no_log for update_password

This is probably due to the name of the variable (update_password).
Ansible considers the variable contains sensitive data and expects to mark that variable with the no_log: True attribute. (https://docs.ansible.com/ansible/latest/reference_appendices/logging.html)

$ ansible-playbook my_playbook.yml
...
TASK [Create Local User] ********************************************************************************************************************************************************************************************************************
[WARNING]: Module did not set no_log for update_password
ok: [localhost]
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant