mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
quote aws ec2 tags
This commit is contained in:
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
{% if telegraf_agent_aws_tags == true and ec2_tags is defined and ec2_tags != None %}
|
{% if telegraf_agent_aws_tags == true and ec2_tags is defined and ec2_tags != None %}
|
||||||
{% for key, value in ec2_tags.tags.iteritems()%}
|
{% for key, value in ec2_tags.tags.iteritems()%}
|
||||||
{{telegraf_agent_aws_tags_prefix}}{{ key }} = "{{ value }}"
|
"{{telegraf_agent_aws_tags_prefix}}{{ key }}" = "{{ value }}"
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
{% if telegraf_agent_aws_tags == true and ec2_tags is defined and ec2_tags != None %}
|
{% if telegraf_agent_aws_tags == true and ec2_tags is defined and ec2_tags != None %}
|
||||||
{% for key, value in ec2_tags.tags.items()%}
|
{% for key, value in ec2_tags.tags.items()%}
|
||||||
{{telegraf_agent_aws_tags_prefix}}{{ key }} = "{{ value }}"
|
"{{telegraf_agent_aws_tags_prefix}}{{ key }}" = "{{ value }}"
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user