Skip to content

fix: add no_log attribute to update_password variable - #26

Open
rvalab wants to merge 1 commit into
ansible-collections:mainfrom
rvalab:fix_update_password
Open

fix: add no_log attribute to update_password variable#26
rvalab wants to merge 1 commit into
ansible-collections:mainfrom
rvalab:fix_update_password

Conversation

@rvalab

@rvalab rvalab commented Aug 6, 2024

Copy link
Copy Markdown
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