fix on external dns management

This commit is contained in:
Paul 2021-02-04 01:03:00 +01:00
parent 347b52b5da
commit cfbc74fff0

View File

@ -52,7 +52,8 @@ def domain_record_present(name,
if cur_record is not None:
res = __salt__['ovhapi.domain_put_record'](zone=zone,
fieldType=recordtype,
subDomain=recordname)
subDomain=recordname,
target=target)
new_zone_state = __salt__['ovhapi.domain_get_zone'](zone=zone)
ret['changes'] = {