blob: 3d723e59f0f59b3e9d9097e5ce9f4cd36d01f345 (
plain) (
tree)
|
|
---
- name: add cronjob for keepalive
ansible.builtin.cron:
name: keepalive network traffic to domain controller
user: root
job: "! ping -c 1 -w 1 {{ hostvars[wireguard__domain_controller].__ip.external }} && wg-quick down {{ wireguard__interface_name }} && wg-quick up {{ wireguard__interface_name }}"
|