diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2021-09-07 01:54:25 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2021-09-07 01:54:25 +0200 |
commit | 2ccf20e70715acd02f86415a61341476ef2c2f14 (patch) | |
tree | 9dbf4ecc9a054f1588cea2e0557ef02b49ab5ac4 /roles/influxdb/templates | |
parent | 4000e16e20ae47423542db221b9ab636cf3d79b9 (diff) | |
download | ansible_collection-2ccf20e70715acd02f86415a61341476ef2c2f14.tar.gz |
add influxdb
Diffstat (limited to 'roles/influxdb/templates')
-rw-r--r-- | roles/influxdb/templates/influxdb.conf.j2 | 42 | ||||
-rw-r--r-- | roles/influxdb/templates/influxdb.list.j2 | 4 |
2 files changed, 46 insertions, 0 deletions
diff --git a/roles/influxdb/templates/influxdb.conf.j2 b/roles/influxdb/templates/influxdb.conf.j2 new file mode 100644 index 0000000..6d290bf --- /dev/null +++ b/roles/influxdb/templates/influxdb.conf.j2 @@ -0,0 +1,42 @@ +# Managed by Ansible. Do not change. + +[meta] + dir = "/var/lib/influxdb/meta" + +[data] + dir = "/var/lib/influxdb/data" + wal-dir = "/var/lib/influxdb/wal" + series-id-set-cache-size = 100 + +[coordinator] + +[retention] + +[shard-precreation] + +[monitor] + +[http] + enabled = true + bind-address = ":8086" + + https-enabled = {{ influx.https_enabled | lower }} + + https-certificate = "{{ influx.https_cert }}" + https-private-key = "{{ influx.https_key }}" + +[logging] + +[subscriber] + +[[graphite]] + +[[collectd]] + +[[opentsdb]] + +[[udp]] + +[continuous_queries] + +[tls] diff --git a/roles/influxdb/templates/influxdb.list.j2 b/roles/influxdb/templates/influxdb.list.j2 new file mode 100644 index 0000000..24fca97 --- /dev/null +++ b/roles/influxdb/templates/influxdb.list.j2 @@ -0,0 +1,4 @@ +# vi: ft=debsources +# This file is managed by Ansible. Do not change. + +deb https://repos.influxdata.com/debian {{ ansible_facts.distribution_release }} stable |