Closed cfiske closed 5 years ago
So after debugging further it turns out I had the LDAP URL and the binddn wrong. However I do consider it to be an issue that neither of these things generated an error (either that the URL was unreachable/unresolvable or that the credentials were invalid) and it just silently barfed. I will open a new issue for that.
I agree that this would deserve a more useful trace in the logs, at least. I am looking forward for the new issue. Thanks!
I am using Ansible 2.6.2 (can you confirm 2.x is supported?) and no matter how I configure my vars I get "Unexpected failure during module execution". Debug output shows nothing useful (in my opinion) before or after the error.
Looking at packet capture, it never even attempts to connect to the LDAP server.
Playbook:
Output:
For some reason it won't let me attach the debug log, so here's the section where it gets to that task: