Flesh out influxdb service some more

This commit is contained in:
Salt 2020-05-10 04:18:21 -05:00
parent 3d0b1c2b29
commit 1411b414c9

View File

@ -4,11 +4,20 @@
- name: Install and configure Influxdb - name: Install and configure Influxdb
block: block:
- name: Install influxdb - name: Install influxdb
apt: block:
name: influxdb - name: Install package
- name: Template out config apt:
template: name:
src: "influxdb.conf" - influxdb
dest: "/etc/influxdb/influxdb.conf" - influxdb-client
notify: restart influxdb - 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 become: yes