|
|
@ -326,7 +326,7 @@ def is_different(module, response):
|
|
|
|
# Remove unnecessary properties from the response.
|
|
|
|
# Remove unnecessary properties from the response.
|
|
|
|
# This is for doing comparisons with Ansible's current parameters.
|
|
|
|
# This is for doing comparisons with Ansible's current parameters.
|
|
|
|
def response_to_hash(module, response):
|
|
|
|
def response_to_hash(module, response):
|
|
|
|
return {u'name': response.get(u'name'), u'type': response.get(u'type'), u'ttl': response.get(u'ttl'), u'rrdatas': response.get(u'target')}
|
|
|
|
return {u'name': response.get(u'name'), u'type': response.get(u'type'), u'ttl': response.get(u'ttl'), u'rrdatas': response.get(u'rrdatas')}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def updated_record(module):
|
|
|
|
def updated_record(module):
|
|
|
|