diff --git a/roles/collectd/base/templates/network-client.conf.j2 b/roles/collectd/base/templates/network-client.conf.j2 index e39c76f651..6058067595 100644 --- a/roles/collectd/base/templates/network-client.conf.j2 +++ b/roles/collectd/base/templates/network-client.conf.j2 @@ -1,8 +1,11 @@ LoadPlugin network - Server "log01" - {% if ansible_distribution_major_version != '6' %} +{% if ansible_distribution_major_version != '6' %} + Server "log01" +{% else %} + ResolveInterval 14400 - {% endif %} + +{% endif %}