diff --git a/playbooks/tasks/web/nagios-hosts.cfg.j2 b/playbooks/tasks/web/nagios-hosts.cfg.j2 index 7a52df0..1458fb7 100644 --- a/playbooks/tasks/web/nagios-hosts.cfg.j2 +++ b/playbooks/tasks/web/nagios-hosts.cfg.j2 @@ -137,7 +137,7 @@ define service { {% for port in service.value.ports %} define service { use ansible-generic-service - service_description TCP {{ port }} - {{ service.value.name }} + service_description TCP {{ service.value.name }} - {{ port }} check_command check_tcp!{{ port }} host_name {{ host_name }} }