added a refresh to ovh dns management

This commit is contained in:
Paul 2020-11-09 23:10:56 +01:00
parent 5c5f5208f9
commit b79efa21ee

View File

@ -48,6 +48,8 @@ def domain_record_present(name,
cur_zone_state = __salt__['ovhapi.domain_get_zone'](zone=zone)
cur_zone_refresh = __salt__['ovhapi.domain_refresh_zone'](zone=zone)
res = __salt__['ovhapi.domain_post_record'](
zone=zone,
subDomain=recordname,