Open velotiger opened 2 years ago
@velotiger -- I wrote this module while I was working on the other modules to manage DTC records, which require a minimum of API version 2.6. The problem you are facing is because the infoblox-client
Python module defaults to WAPI 2.1, where you get this error. If you add wapi_version: "2.2"
to your provider declaration, this problem will go away.
@anagha-infoblox -- would it make more sense to modify api.py and force a minimum of 2.6 (or even 2.11, which is the minimum version of the currently supported NIOS)?
@badnetmask -- Hi Mauricio, thanks for your reply. Setting wapi_version: '2.10'
in the provider dict did help. The handler is run. However, the task does not restart the services even if the Web UI states «restart needed». But that is another question an not related to this issue.
Regards, Tilmann
@hemanthKa677 -- hey there, I see you took over the maintenance of this collection. I've had someone else reaching out directly to me about this very same problem. Any chance we can make the change I suggested in my comment above?
Hi @badnetmask , I have made a PR for this wapi version update, in coming one or two weeks, the changes will be merged. Thanks.
@JchhatbarInfoblox @JkhatriInfobox - this commit already set a higher wapi_version
, so I believe this issue can be closed.
required function parameter missing: member_order
Whatever I try, the module «infoblox.nios_modules.nios_restartservices» always throws an error:
Task Example
Infoblox provider dict is set in the playbook and is working ok for two other tasks (infoblox.nios_modules.nios_host_record, infoblox.nios_modules.nios_network).
Platform