Skip to content
Snippets Groups Projects
Commit 6b47d828 authored by liyingjun's avatar liyingjun
Browse files

Fix telegraf task

When enabling telegraf, task failed with "the field 'vars' has an invalid value,
which appears to include a variable that is undefined. The error was: 'dict
object' has no attribute 'telegraf_services'"

Change-Id: I6dd5c401bf9b673685ad1b4a20f85c55ce04abbc
Closes-bug: #1662807
parent 0a8e2a62
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,6 @@
with_dict: "{{ telegraf_services }}"
- name: Copying over default config.json files
vars:
service: "{{ telegraf_services['telegraf_services'] }}"
template:
src: "telegraf.json.j2"
dest: "{{ node_config_directory }}/telegraf/config.json"
......
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