-
-
Save whytewolf/f9e83934e4158d2aad48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set current_ip = salt.http.query('https://api.ipify.org')['body'] %} | |
boto_dyncdns: | |
boto_route53.present: | |
- name: home.fakeaddress | |
- value: {{current_ip}} | |
- zone: fakezone | |
- ttl: 18000 | |
- record_type: A | |
boto_mediaserver: | |
boto_route53.present: | |
- name: mediaserver.fakeaddress | |
- value: {{current_ip}} | |
- zone: fakezone | |
- ttl: 18000 | |
- record_type: A | |
Salt_DynDNS_update: | |
ifttt.trigger_event: | |
- event: "Salt_DynDNS_update" | |
- onchanges: | |
- boto_route53: boto_mediaserver | |
- boto_route53: boto_dyncdns |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment