xoanmi / ansible-module-infoblox

Awesome infobox module for ansible
GNU General Public License v3.0
38 stars 25 forks source link

delete_host does not remove a host #32

Closed KrystianMarek closed 7 years ago

KrystianMarek commented 7 years ago

If I try to remove a host with: `---

xoanmi commented 7 years ago

No. This is the expected behaivor of the API and also from the webgui. When you remove a object this is moved to Recycle Bin. You can recover the objects from there in case of disaster. I think this is desirable instead of delete it permanently, most in automated environments.

KrystianMarek commented 7 years ago

Ok, So how do I empty the Recycle Bin using the ansible module ?

xoanmi commented 7 years ago

Is not implemented. I'm not sure if the api supports it or not. Anyway, feel free to open a pull request :)