File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 99 dns_zone : " mydomain.com"
1010 dyndns_names :
1111 - " dyndns"
12+ dyndns_ttl : 300
1213 api_key : " "
1314 external_ip_address : " "
1415
Original file line number Diff line number Diff line change 3636 type : " A"
3737 value : " {{ external_ip_address }}"
3838 zone_id : " {{ zone_id.json.zones[0].id }}"
39+ ttl : " {{ dyndns_ttl }}"
3940 when : (dns_record_id | length == 0 and external_ip_address | length > 0)
4041
4142 - name : DYNDNS Record does exist, will update it with external IP as {{ external_ip_address }}
5051 type : " A"
5152 value : " {{ external_ip_address }}"
5253 zone_id : " {{ zone_id.json.zones[0].id }}"
54+ ttl : " {{ dyndns_ttl }}"
5355 when : (dns_record_id | length > 0 and external_ip_address | length > 0)
5456
5557 rescue :
You can’t perform that action at this time.
0 commit comments