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

  connection: local
  tasks:
    - name: Delete zone
      infoblox.nios_modules.nios_zone:
        name: ansiblezone.com
        view: ansibleDnsView
        state: absent
        provider: "{{ nios_provider }}"
