From 447155f71fbccfd5dbefb71a5a234ddccc0287b3 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Wed, 5 Aug 2020 00:50:48 +0000 Subject: [PATCH] Tweak monit defaults and add sample of turning on wireguard monitoring via monit in inventory --- inventory.example | 1 + roles/monit/defaults/main.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/inventory.example b/inventory.example index fe5e56c..bf4d92f 100644 --- a/inventory.example +++ b/inventory.example @@ -34,6 +34,7 @@ wg: - iptables -D -A INPUT -i wg0 -s 192.168.254.0/24 -d 192.168.254.0/24 -j ACCEPT - iptables -D -A INPUT -i wg0 -s 192.168.254.0/24 -d 0.0.0.0/0 -j DROP vars: + monit_wireguard: true wireguard_port: 51821 wireguard_endpoint: 10.5.5.246 wireguard_persistent_keepalive: 30 diff --git a/roles/monit/defaults/main.yml b/roles/monit/defaults/main.yml index c997aa3..122714b 100644 --- a/roles/monit/defaults/main.yml +++ b/roles/monit/defaults/main.yml @@ -11,7 +11,7 @@ monit_filesystems: - { name: "rootfs", path: "/", alert: "80%" } # Monitor WireGuard? -monit_wireguard: true +monit_wireguard: false # Username / password for monit web service monit_web_user: "admin"