summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/server/tasks
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-05-30 16:08:03 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-06-20 01:44:16 +0200
commit3ef83057161e6d973f79805340d4c3d210425465 (patch)
treecf151e9dea64b0c72914e2f59939f12e47585cba /roles/monitoring/prometheus/server/tasks
parentroot part has been resized for some hosts (diff)
cleanup: old preliminary tasks
Diffstat (limited to 'roles/monitoring/prometheus/server/tasks')
-rw-r--r--roles/monitoring/prometheus/server/tasks/main.yml11
1 files changed, 4 insertions, 7 deletions
diff --git a/roles/monitoring/prometheus/server/tasks/main.yml b/roles/monitoring/prometheus/server/tasks/main.yml
index 784e872a..ec5bd9a9 100644
--- a/roles/monitoring/prometheus/server/tasks/main.yml
+++ b/roles/monitoring/prometheus/server/tasks/main.yml
@@ -8,12 +8,9 @@
- name: install apt packages
apt:
- name: prometheus
+ name: prom-server
state: present
-- name: listen on localhost only
- lineinfile:
- path: /etc/default/prometheus
- regexp: '^ARGS='
- line: 'ARGS="--web.listen-address=127.0.0.1:9090 --storage.tsdb.retention={{ prometheus_server_retention }}"'
- notify: restart prometheus
+## TODO:
+## - systemd service unit
+## - create CA and certificate/key