Last active
January 5, 2018 04:06
-
-
Save whytewolf/f6615c91c82586328a88a487f54ea8bb 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: url1 | |
- value: {{current_ip}} | |
- zone: bad4.us | |
- ttl: 18000 | |
- record_type: A | |
boto_mediaserver: | |
boto_route53.present: | |
- name: url2 | |
- value: {{current_ip}} | |
- zone: bad4.us | |
- 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