From 1411b414c9dac9f6849108830d9cd05fdaca4006 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 10 May 2020 04:18:21 -0500 Subject: [PATCH] Flesh out influxdb service some more --- roles/influxdb/tasks/main.yml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/roles/influxdb/tasks/main.yml b/roles/influxdb/tasks/main.yml index 0276024..1f6ed74 100644 --- a/roles/influxdb/tasks/main.yml +++ b/roles/influxdb/tasks/main.yml @@ -4,11 +4,20 @@ - name: Install and configure Influxdb block: - name: Install influxdb - apt: - name: influxdb - - name: Template out config - template: - src: "influxdb.conf" - dest: "/etc/influxdb/influxdb.conf" - notify: restart influxdb + block: + - name: Install package + apt: + name: + - influxdb + - influxdb-client + - name: Template out config + template: + src: "influxdb.conf" + dest: "/etc/influxdb/influxdb.conf" + notify: restart influxdb + - name: Install telegraf + block: + - name: Install package + apt: + deb: "https://dl.influxdata.com/telegraf/releases/telegraf_1.14.2-1_amd64.deb" become: yes