From 48b5bc62e6fe0586c9f25305de5e289094da6d71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Fri, 11 Jun 2021 13:09:46 +0200
Subject: [PATCH] Remove deprecated nagios_server reference

---
 templates/iptables.conf.j2 | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/templates/iptables.conf.j2 b/templates/iptables.conf.j2
index 913cbea..dc4fd2b 100644
--- a/templates/iptables.conf.j2
+++ b/templates/iptables.conf.j2
@@ -105,10 +105,6 @@
 # IMAP
 -A OUTPUT -p tcp -m tcp --dport 993 -j ACCEPT
 {% endif %}
-{% if inventory_hostname in groups.nagios_server %}
-# NRPE
--A OUTPUT -p tcp -m tcp --dport 5666 -j ACCEPT
-{% endif %}
 # Log outgoing traffic blocked by IPTables
 -A OUTPUT -j LOGGING
 ## LOGGING chain
-- 
GitLab