Skip to content
Snippets Groups Projects
Commit 4ec31f06 authored by Baptiste DE RENZO's avatar Baptiste DE RENZO
Browse files

Fix munin-server configuration generation

parent 432e8b7a
No related branches found
No related tags found
No related merge requests found
...@@ -11,8 +11,8 @@ includedir /etc/munin/munin-conf.d ...@@ -11,8 +11,8 @@ includedir /etc/munin/munin-conf.d
use_node_name yes use_node_name yes
{% endfor %} {% endfor %}
{% elif groups['munin_node'] is defined %} {% elif groups['monitor_client'] is defined %}
{% for host in groups['munin_node'] %} {% for host in groups['monitor_client'] %}
[{{ host }}.{{ ubicast_customer_name }}] [{{ host }}.{{ ubicast_customer_name }}]
address {{hostvars[host]['ansible_facts']['default_ipv4']['address']}} address {{hostvars[host]['ansible_facts']['default_ipv4']['address']}}
use_node_name yes use_node_name yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment