fixed variable creation order
diff --git a/tasks/main.yml b/tasks/main.yml index da8da32..75b0d61 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -5,7 +5,7 @@ msg: "Influxdb group was not defined." when: groups['influxdb'] is not defined -- name: Update telegraph attributes +- name: Update telegraf attributes cache: key: "{{ item.key }}" value: "{{ item.value }}"