infobloxopen / infoblox-ansible

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

Developing modules - Contributor #110

Open alexandregoncalves17 opened 2 years ago

alexandregoncalves17 commented 2 years ago

Hi!

I am new to this world, I am trying to develop some modules that I need for my work.

I need some help please. My issue is:

Screenshot 2022-01-31 at 16 43 20

Where, in your modules already developed, you make the verification if the object already exists?

Thanks!

matthewdennett commented 1 year ago

Hi @alexandregoncalves17,

I think what you are looking for is in two parts. Here is looking for an existing object and returning its _ref.

Later on here the returned object is compared with the incoming object to see if an update is required.