mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Remove legacy configuration options
This commit is contained in:
@ -66,25 +66,6 @@
|
|||||||
{{ items }}
|
{{ items }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.pass is defined and item.pass is iterable %}
|
|
||||||
[{{ item.plugin }}.pass]
|
|
||||||
{% for items in item.pass %}
|
|
||||||
{{ items }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
{% if item.drop is defined and item.drop is iterable %}
|
|
||||||
[{{ item.plugin }}.drop]
|
|
||||||
{% for items in item.drop %}
|
|
||||||
{{ items }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
{% if item.specifications is defined and item.specifications is iterable %}
|
|
||||||
[[{{item.plugin}}.specifications]]
|
|
||||||
{% for items in item.specifications %}
|
|
||||||
{{ items }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
@ -27,18 +27,6 @@
|
|||||||
{{ items }}
|
{{ items }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.value.pass is defined and item.value.pass is iterable %}
|
|
||||||
[{{ item.value.plugin | default(item.key) }}.pass]
|
|
||||||
{% for items in item.value.pass %}
|
|
||||||
{{ items }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
{% if item.value.drop is defined and item.value.drop is iterable %}
|
|
||||||
[{{ item.value.plugin | default(item.key) }}.drop]
|
|
||||||
{% for items in item.value.drop %}
|
|
||||||
{{ items }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
{% if item.value.objects is defined and item.value.objects is iterable %}
|
{% if item.value.objects is defined and item.value.objects is iterable %}
|
||||||
{% for object in item.value.objects %}
|
{% for object in item.value.objects %}
|
||||||
[[inputs.{{ item.value.plugin | default(item.key) }}.object]]
|
[[inputs.{{ item.value.plugin | default(item.key) }}.object]]
|
||||||
@ -48,10 +36,4 @@
|
|||||||
Measurement = {{ object.measurement | default("win_perf_counters") | to_json }}
|
Measurement = {{ object.measurement | default("win_perf_counters") | to_json }}
|
||||||
IncludeTotal = {{ object.total | default(false) | string | lower }}
|
IncludeTotal = {{ object.total | default(false) | string | lower }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.value.specifications is defined and item.value.specifications is iterable %}
|
|
||||||
[[{{item.value.plugin | default(item.key)}}.specifications]]
|
|
||||||
{% for items in item.value.specifications %}
|
|
||||||
{{ items }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
@ -94,18 +94,6 @@
|
|||||||
{{ items }}
|
{{ items }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.pass is defined and item.pass is iterable %}
|
|
||||||
[{{ item.plugin }}.pass]
|
|
||||||
{% for items in item.pass %}
|
|
||||||
{{ items }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
{% if item.drop is defined and item.drop is iterable %}
|
|
||||||
[{{ item.plugin }}.drop]
|
|
||||||
{% for items in item.drop %}
|
|
||||||
{{ items }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
{% if item.objects is defined and item.objects is iterable %}
|
{% if item.objects is defined and item.objects is iterable %}
|
||||||
{% for object in item.objects %}
|
{% for object in item.objects %}
|
||||||
[[inputs.{{ item.plugin }}.object]]
|
[[inputs.{{ item.plugin }}.object]]
|
||||||
@ -116,12 +104,6 @@
|
|||||||
IncludeTotal = {{ object.total | default(false) | string | lower }}
|
IncludeTotal = {{ object.total | default(false) | string | lower }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.specifications is defined and item.specifications is iterable %}
|
|
||||||
[[{{item.plugin}}.specifications]]
|
|
||||||
{% for items in item.specifications %}
|
|
||||||
{{ items }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user