diff options
Diffstat (limited to 'roles/wireguard/tasks/cron.yml')
-rw-r--r-- | roles/wireguard/tasks/cron.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/wireguard/tasks/cron.yml b/roles/wireguard/tasks/cron.yml new file mode 100644 index 0000000..482b34f --- /dev/null +++ b/roles/wireguard/tasks/cron.yml @@ -0,0 +1,5 @@ +- name: add cronjob for keepalive + ansible.builtin.cron: + name: keepalive network traffic to domain controller + user: nobody + job: ping -c 1 {{ hostvars[wireguard_domain_controller].__ip.external }} |