gheesh / ansible-ovh-dns

Ansible module for accessing the OVH DNS API
GNU General Public License v3.0
45 stars 20 forks source link

add check_mode #5

Closed lalmeras closed 6 years ago

lalmeras commented 6 years ago

Trying to add a proper check_mode.

It seems to me that just adding support_check_mode = True and wrapping all update/post client calls may do the job.

Works fine for my playbook. Using check mode allows me to see needed record updates without applying them, as intended.

No regression for normal mode.

gheesh commented 6 years ago

Looks good, thank you!