ansible-nas/tasks/cloudflare_ddns.yml

15 lines
376 B
YAML
Raw Normal View History

2019-01-15 23:24:18 +00:00
- name: Cloudflare Dynamic DNS Container
docker_container:
name: cloudflare-ddns
image: joshava/cloudflare-ddns:latest
pull: true
env:
2019-01-15 23:38:44 +00:00
ZONE: "{{ cloudflare_zone }}"
HOST: "{{ cloudflare_host }}"
EMAIL: "{{ cloudflare_email }}"
API: "{{ cloudflare_api_key }}"
PROXY: "false"
2019-01-15 23:24:18 +00:00
restart_policy: unless-stopped
memory: 512MB
2019-01-15 23:24:18 +00:00