Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating an adminuser module #270

Open
aheath1992 opened this issue Oct 22, 2024 Discussed in #249 · 0 comments
Open

creating an adminuser module #270

aheath1992 opened this issue Oct 22, 2024 Discussed in #249 · 0 comments

Comments

@aheath1992
Copy link

Discussed in #249

I am trying to create an adminuser module to create an manage local users in Infoblox as in my discussion linked below I am running into some issues.

Originally posted by aheath1992 August 16, 2024
Im trying to create an Adminuser module that can create and manage Local users on Infoblox when testing i have the username and the admingroup set and i get the following

FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python3"}, "changed": false, "code": "Client.Ibap.Proto", "msg": "A password must be specified if auth_type is not REMOTE or SAML.", "operation": "create_object", "type": "AdmConProtoError"}

But when I enable the password option I get the following

FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python3"}, "changed": false, "module_stderr": "Failed on object search with url https://infoblox-sandbox.example.com/wapi/v2.12.3/adminuser?name=admin-test&admin_groups=admin-group&_return_fields=name%2Cadmin_groups%2Cpassword&_max_results=1000: b'{ \"Error\": \"AdmConProtoError: Field is not readable: password\",

Not sure how to pass the password the way that Infoblox is wanting, any guidance would be helpful


I have created a first pass at the module but not sure what I am missing or if the WAPI needs to be tweaked a bit. Any guidance would be appreciated
aheath1992@ab302fa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants