ansible/playbooks/tasks/app/ddns-route53.yml

40 lines
1.8 KiB
YAML
Raw Permalink Normal View History

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
2022-04-01 15:02:52 -05:00
#
# https://crazymax.dev/ddns-route53/
#
- name: docker deploy ddns-route53
docker_container:
name: ddns-route53
state: started
image: crazymax/ddns-route53:latest
restart_policy: unless-stopped
pull: yes
env:
TZ: America/Chicago
SCHEDULE: "*/5 * * * *"
LOG_LEVEL: "info"
LOG_JSON: "false"
DDNSR53_CREDENTIALS_ACCESSKEYID: !vault |
$ANSIBLE_VAULT;1.1;AES256
61656634313362376137313363393932363234353164333639306237663038316334316364386530
3462393862313039303837333261373966303239636361330a356234346166646632646138663564
62376365323230643162333337663337386138306139616237646162623532643063363534366235
3435376135396237310a373764663639323932373835336536316234313235643138376638643363
64666538336631666130353462346232323566363362613264386166313532653331
DDNSR53_CREDENTIALS_SECRETACCESSKEY: !vault |
$ANSIBLE_VAULT;1.1;AES256
32356638323261373239653634626232373033383533643962333835346535623631653962643332
3965356666353464333334353863373163356361663634350a333834373661323064393261623039
34393235646633643835393661393832356663306663343835326438666264646539646134613534
6163303638613433640a663935346664306636646262653365353464666337303764323532383538
31333965373134346639386533623263343336386233323034656134303933643337623032376334
6535613834656563623831363835346665623737346536353030
DDNSR53_ROUTE53_HOSTEDZONEID: "Z09582792UG7TATE5YWLE"
DDNSR53_ROUTE53_RECORDSSET_0_NAME: "home.ddns.mgmt.desu.ltd."
DDNSR53_ROUTE53_RECORDSSET_0_TYPE: "A"
DDNSR53_ROUTE53_RECORDSSET_0_TTL: "300"
volumes:
- /data/ddns-route53:/etc/ddns-route53
tags: [ docker, ddns-route53 ]