Pure-Storage-Ansible / FlashArray-Collection

Ansible Collection for Pure Storage FlashArray
GNU General Public License v3.0
19 stars 21 forks source link

unable to set ds to absent if it is currently absent #514

Closed tylergmuir closed 7 months ago

tylergmuir commented 7 months ago

Describe the bug When the directory services configuration has already be set to a state of absent, if you rerun the task it fails due to the bind_password not being set.

To Reproduce Steps to reproduce the behavior:

  1. Have a purefa_ds task where you set the state to absent.
  2. Rerun the task on the same array.
  3. See error

Expected behavior The task should report as OK because the directory service config is already absent.