infobloxopen / infoblox-ansible

Ansible modules for interfacing to Infoblox systems
GNU General Public License v3.0
55 stars 64 forks source link

Cannot delete networks #135

Open spinoshi opened 2 years ago

spinoshi commented 2 years ago

I cannot delete networks from Infoblox using:

    - name: Remove 192.168.1.0/30
      infoblox.nios_modules.nios_network:
        network: 192.168.1.0/30
        state: absent
        provider: "{{nios_provider}}"

The tasks is executed successfully ([OK]) but no actual change is done in Infoblox. Anything I am doing wrong?

This is my setup:

ansible 2.9.6
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/usr/share/my_modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0]
seefor commented 1 year ago

Do you have a an IP in use on the network or a DNS record