ansible-nas/tasks/cloudflare_ddns.yml

14 lines
376 B
YAML

- name: Cloudflare Dynamic DNS Container
docker_container:
name: cloudflare-ddns
image: joshava/cloudflare-ddns:latest
pull: true
env:
ZONE: "{{ cloudflare_zone }}"
HOST: "{{ cloudflare_host }}"
EMAIL: "{{ cloudflare_email }}"
API: "{{ cloudflare_api_key }}"
PROXY: "false"
restart_policy: unless-stopped
memory: 512MB