Pure-Storage-Ansible / FlashArray-Collection

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

purefs_ds fails to apply the configuration if there is no bind_password set but there is a bind_user set #469

Closed tylergmuir closed 1 year ago

tylergmuir commented 1 year ago

Describe the bug In the GUI for the pure array, it allows you to set a bind user without setting the bind password. This configuration doesn't work, but it is allowed.

If you have an array in this state and you are using force_bind_password: false it doesn't detect that there is no password set so it doesn't attempt to include the bind_password.

To Reproduce Steps to reproduce the behavior:

  1. Have an array with the directory services configured with a bind username and no bind password and have the directory services disabled.
  2. Attempt to configure the directory services with ansible to enable it and also have force_bind_password: false

Expected behavior The expected behavior is that ansible would see that there is no password set and update the password.