We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.9.9
2.8.5
0.2.3
Netbox trims strings, the netbox collection detects a difference between playbook and returned value. Thous triggers an update.
"diff": { "after": { "description": "WWN: ", }, "before": { "description": "WWN:", }
Create an inventory item with description that ends on whitespace.
Either the collection trims as well, or issues a warning about trailing whitespace.
It gets updated over and over, because the value with whitespace (in ansible-playbook) does not match the returned value from netbox that is trimmed.
The text was updated successfully, but these errors were encountered:
Thanks for this report! This should be able to be fixed within the the _normalize_data method.
_normalize_data
Sorry, something went wrong.
Works as well. thank you for this fix too
Thanks for reporting these bugs!
Successfully merging a pull request may close this issue.
ISSUE TYPE
SOFTWARE VERSIONS
Ansible:
2.9.9
Netbox:
2.8.5
Collection:
0.2.3
SUMMARY
Netbox trims strings, the netbox collection detects a difference between playbook and returned value. Thous triggers an update.
STEPS TO REPRODUCE
Create an inventory item with description that ends on whitespace.
EXPECTED RESULTS
Either the collection trims as well, or issues a warning about trailing whitespace.
ACTUAL RESULTS
It gets updated over and over, because the value with whitespace (in ansible-playbook) does not match the returned value from netbox that is trimmed.
The text was updated successfully, but these errors were encountered: