aboutsummaryrefslogtreecommitdiff
path: root/roles/influxdb/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/influxdb/templates')
-rw-r--r--roles/influxdb/templates/influxdb.conf.j242
-rw-r--r--roles/influxdb/templates/influxdb.list.j24
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