Pure-Storage-Ansible / FlashArray-Collection

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

Fixes error using force_bind_password #465

Closed tylergmuir closed 1 year ago

tylergmuir commented 1 year ago
SUMMARY

This fixes a logic error. The line before the if statement, the variables bind_user is being set to module.params["bind_user"] and then the if statement is checking is bind_user is equal to module.params["bind_user"]. This is causing the following code in the if statement to never run. Due to this, if you use the parameter force_bind_password: false when calling purefa_ds and there is no existing directories services configuration you receive an error.

Fixes #464

ISSUE TYPE
COMPONENT NAME

purefa_ds

ADDITIONAL INFORMATION