mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Fix tagpass and tagdrop syntax
This commit is contained in:
@ -16,13 +16,13 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.value.tagpass is defined and item.value.tagpass is iterable %}
|
{% if item.value.tagpass is defined and item.value.tagpass is iterable %}
|
||||||
[{{ item.value.plugin | default(item.key) }}.tagpass]
|
[inputs.{{ item.value.plugin | default(item.key) }}.tagpass]
|
||||||
{% for items in item.value.tagpass %}
|
{% for items in item.value.tagpass %}
|
||||||
{{ items }}
|
{{ items }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.value.tagdrop is defined and item.value.tagdrop is iterable %}
|
{% if item.value.tagdrop is defined and item.value.tagdrop is iterable %}
|
||||||
[{{ item.value.plugin | default(item.key) }}.tagdrop]
|
[inputs.{{ item.value.plugin | default(item.key) }}.tagdrop]
|
||||||
{% for items in item.value.tagdrop %}
|
{% for items in item.value.tagdrop %}
|
||||||
{{ items }}
|
{{ items }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -71,13 +71,13 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.tagpass is defined and item.tagpass is iterable %}
|
{% if item.tagpass is defined and item.tagpass is iterable %}
|
||||||
[{{ item.plugin }}.tagpass]
|
[inputs.{{ item.plugin }}.tagpass]
|
||||||
{% for items in item.tagpass %}
|
{% for items in item.tagpass %}
|
||||||
{{ items }}
|
{{ items }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.tagdrop is defined and item.tagdrop is iterable %}
|
{% if item.tagdrop is defined and item.tagdrop is iterable %}
|
||||||
[{{ item.plugin }}.tagdrop]
|
[inputs.{{ item.plugin }}.tagdrop]
|
||||||
{% for items in item.tagdrop %}
|
{% for items in item.tagdrop %}
|
||||||
{{ items }}
|
{{ items }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Reference in New Issue
Block a user