You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating an existing item with onepassword.connect.generic_item module, with the same exact properties and values, results in "changed: true". This is not very ansible-like, it should really be "changed: false"
Use cases
No changes should result in no changes.
Proposed solution
No changes should result in no changes.
Is there a workaround to accomplish this today?
Use onepassword.connect.item_info to read the data first, compare with data to be submitted, and skip onepassword.connect.generic_item task if they are the same. This is non-trivial in ansible (1password items can be quite complex) and would be better handled in the module.
References & Prior Work
Compare to ansible.builtin.user module where the same properties result in no change
The text was updated successfully, but these errors were encountered:
Summary
Updating an existing item with onepassword.connect.generic_item module, with the same exact properties and values, results in "changed: true". This is not very ansible-like, it should really be "changed: false"
Use cases
No changes should result in no changes.
Proposed solution
No changes should result in no changes.
Is there a workaround to accomplish this today?
Use onepassword.connect.item_info to read the data first, compare with data to be submitted, and skip onepassword.connect.generic_item task if they are the same. This is non-trivial in ansible (1password items can be quite complex) and would be better handled in the module.
References & Prior Work
Compare to ansible.builtin.user module where the same properties result in no change
The text was updated successfully, but these errors were encountered: