Pure-Storage-Ansible / FlashBlade-Collection

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

Playbook Task failed when deleting policy #278

Closed JoshuaHaus closed 3 months ago

JoshuaHaus commented 3 months ago

Describe the bug when deleting a Policy with purestorage.flashblade.purefb_policy the error message: "py-pure-client sdk is required for this module" appears.

py-pure-client sdk is installed on the executing server.

This is the Task in the Ansible playbook:

The Policy I try to Delete has no assigned user

To Reproduce Steps to reproduce the behavior:

  1. Create a policy
  2. try to delete policy with Ansible
  3. See error

Expected behavior The policy is deleted

Screenshots If applicable, add screenshots to help explain your problem. image

sdodsley commented 3 months ago

@JoshuaHaus this is caused because you do not have the latest py-pure-client installed. Please upgrade to the latest version and the issue will be resolved.

JoshuaHaus commented 3 months ago

Thanks alot.

After updating py-pure-client it worked as planned.