---
- name: Infoblox Member Configuration
  hosts: localhost
  vars:
    nios_provider:
      host: 10.36.118.2
      username: cloudadmin
      password: admin

  connection: local
  tasks:
    - name: Create network view
      infoblox.nios_modules.nios_network_view:
        name: ansibleCollectionsView
        extattrs:
          Site: Test Site
        comment: Created with Ansible
        state: present
        provider: "{{ nios_provider }}"
