infoblox-ansible icon indicating copy to clipboard operation
infoblox-ansible copied to clipboard

Cannot delete networks

Open spinoshi opened this issue 2 years ago • 1 comments

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]

spinoshi avatar Aug 05 '22 12:08 spinoshi

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

seefor avatar Dec 27 '22 14:12 seefor