Closed nikolisg7 closed 1 month ago
@nikolisg7 Ansible recommends to use info module to fetch the info and use configuration modules to configure. We have fixed the info module to return the paginated data, Please use Info module to fetch the user details.
Describe the bug I am using a task identical to the example task from the user module to assess if a ADS user exists:
Upon execution I am receiving the following error:
To Reproduce Steps to reproduce the behavior:
Expected behavior If user exists in zone: JSON response with user details, the ones returned from GET /platform/auth/users/USER If user does not exist in zone: error response similar to the API:
Screenshots If applicable, add screenshots to help explain your problem.
Logs If applicable, submit logs or stack traces from the affected services
System Information (please complete the following information):
Additional context I wouldn't mind to use direct API queries to get user information, if the user module doesn't support it. Perhaps then the documentation/examples in the user module should be updated