Open petj06 opened 4 months ago
I am trying to create a new network using the nios_network and when I use the members parameter to specify the name of my internal name servers using the members "name", I get the following error:
"msg": "Unsupported parameters for (infoblox.nios_modules.nios_network) module: members. Supported parameters include: template, network (cidr, name), provider, network_view, extattrs, options, comment, state, container."
According to this doc, it appears that my syntax for the members is correct: https://docs.ansible.com/ansible/latest/collections/infoblox/nios_modules/nios_network_module.html Ansible core version: 2.13.8 python version = 3.9.18
--- - hosts: localhost connection: local gather_facts: no vars: nios_provider: host: "{{ ib_host }}" username: "{{ ib_user }}" password: "{{ ib_pass }}" wapi_version: "2.9" tasks: # Fail the playbook if the required variables aren't defined - name: Check for required variables fail: msg: One or more required variables not defined when: - ib_host is undefined - ib_user is undefined - ib_pass is undefined - network is undefined - name: Create Infoblox network infoblox.nios_modules.nios_network: network: "{{ item.network }}" members: - name: internal-a.test.org - name: internal-b.test.org options: - name: "router" value: "{{ item.router }}" state: "present" with_items: - { network: "10.20.192.0/29", router: "10.20.192.1" }
I am trying to create a new network using the nios_network and when I use the members parameter to specify the name of my internal name servers using the members "name", I get the following error:
"msg": "Unsupported parameters for (infoblox.nios_modules.nios_network) module: members. Supported parameters include: template, network (cidr, name), provider, network_view, extattrs, options, comment, state, container."
According to this doc, it appears that my syntax for the members is correct: https://docs.ansible.com/ansible/latest/collections/infoblox/nios_modules/nios_network_module.html Ansible core version: 2.13.8 python version = 3.9.18