From 2a27a7830f5dae960d2d6fcd11f4213b6b626fb4 Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Sun, 6 Apr 2025 22:19:56 +0200 Subject: [PATCH] add ddupdater cron --- apps/ddupdater/init.ansible.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/ddupdater/init.ansible.yml b/apps/ddupdater/init.ansible.yml index 447df42..048d4be 100644 --- a/apps/ddupdater/init.ansible.yml +++ b/apps/ddupdater/init.ansible.yml @@ -33,3 +33,10 @@ USERNAME: "noveria" PASSWORD: "{{dyndns_password}}" DOMAIN: "play.noveria.org" + - name: ddupdater crontab + cron: + name: "Check public ip and update ddns record every 5 minutes" + state: present + minute: "*/5" + job: "{{ bin_dir }}/ddupdater" + user: root