Changeset - e2975d0cef94
[Not reviewed]
0 1 0
x - 2 months ago 2025-03-14 23:43:42
xbr@c3l.lu
fix: replace check_vpn with TODO for blacklist download
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
gateway/initial_gw_setup.yml
Show inline comments
 
@@ -375,42 +375,42 @@
 
        job: "/usr/local/bin/check_gateway.sh > /dev/null 2>&1"
 
        state: "present"
 
        minute: "*"
 
        hour: "*"
 
        day: "*"
 
        month: "*"
 
        weekday: "*"
 
      tags: config
 
    - name: Add check_vpn to cron
 
      ansible.builtin.cron:
 
        name: "check if vpn is online"
 
        user: root
 
        job: "/usr/local/bin/check_vpn.sh > /dev/null 2>&1"
 
        state: "present"
 
        minute: "*"
 
        hour: "*"
 
        day: "*"
 
        month: "*"
 
        weekday: "*"
 
      tags: config
 
    - name: Regularly download the peer blacklist
 
      ansible.builtin.cron:
 
        name: "download blacklist"
 
        user: root
 
        job: "/usr/local/bin/check_vpn.sh > /dev/null 2>&1"
 
        job: "echo \"TODO: add blacklist working download (accessible publicly via link\""
 
        state: "present"
 
        minute: "*/5"
 
        hour: "*"
 
        day: "*"
 
        month: "*"
 
        weekday: "*"
 
      tags: config
 

	
 
    # Reboot and reconnect
 
    - name: Reboot host and wait for it to restart
 
      ansible.builtin.reboot:
 
        msg: "Reboot initiated by Ansible"
 
        connect_timeout: 5
 
        reboot_timeout: 600
 
        pre_reboot_delay: 0
 
        post_reboot_delay: 30
 
        test_command: whoami
0 comments (0 inline, 0 general)