Pure-Storage-Ansible / FlashBlade-Collection

Ansible Collection for Pure Storage FlashBlade
GNU General Public License v3.0
4 stars 8 forks source link

purefb_ds reports changed anytime the bind_password is supplied #261

Closed tylergmuir closed 6 months ago

tylergmuir commented 6 months ago

Describe the bug When you supply the bind_password to purefb_ds, the module will always make an API call to set the DS configuration and always report as changed.

To Reproduce Steps to reproduce the behavior:

  1. Have a playbook config a flashblade with purefb_fs
  2. Rerun the same playbook (where nothing should be changed)
  3. See playbook report task as changed when no changes were required

Expected behavior There should be a boolean to skip forcibly setting the bind password.

Additional context This is identical to an this PR in the flasharray collection: https://github.com/Pure-Storage-Ansible/FlashArray-Collection/pull/292#issue-1243187151