Closed ryuyamag closed 8 months ago
@ryuyamag to disable a DS you just use state: absent
rather than clearing all the values with state: present
.
@sdodsley The customer is preparing this playbook for when they want to temporarily disable DS. And they said it worked fine with the previous version(1.21.0).
This works fine if I set bind_password correctly. so if purefa_ds continues with this specification, I will try to communicate that to the customer.
purefa_ds had a bug related to bind_password that was fixed. I think they were exploiting that bug
@sdodsley Sure. I'll talk to the customer. I may consult with you again, but please close this request for now.
My customer is trying to disable Directory Service. Using the same syntax as in the example, this 1.22.0 requires a bind password. Can I ask for help with this problem?
• Ansible version : core 2.15.5 • FlashArray Collection version: 1.22.0 • Purity version: 6.3.13 • FlashArray module causing the failure: purefa_ds • An example task that fails: disable • Response from ansible-playbook -vvvv when running a failing task
fatal: [localhost]: FAILED! => { "changed": false, "invocation": { "module_args": { "aa_group": null, "api_token": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "base_dn": null, "bind_password": null, "bind_user": null, "dstype": "management", "enable": false, "fa_url": "10.229.192.60", "force_bind_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "group_base": null, "ro_group": null, "sa_group": null, "state": "present", "uri": null, "user_login": null, "user_object": null } }, "msg": "'bind_password' must be provided for this task" }