From 400ca82d4f7ec1a57d6fb13c89c124cbffa1b778 Mon Sep 17 00:00:00 2001 From: Jonathan Math Date: Tue, 27 Apr 2021 08:54:40 -0500 Subject: [PATCH] remove non-working volume from grafana and open ports to prometheus in ansible --- ansible/roles/grafana/tasks/main.yml | 2 -- ansible/roles/prometheus/tasks/main.yml | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/grafana/tasks/main.yml b/ansible/roles/grafana/tasks/main.yml index 548f17d4e..18a88310f 100644 --- a/ansible/roles/grafana/tasks/main.yml +++ b/ansible/roles/grafana/tasks/main.yml @@ -8,5 +8,3 @@ GF_SECURITY_ADMIN_PASSWORD: "{{ grafana_password }}" ports: - "3000:3000" - volumes: - - /srv/newsblur/docker/volumes/grafana_data:/var/lib/grafana diff --git a/ansible/roles/prometheus/tasks/main.yml b/ansible/roles/prometheus/tasks/main.yml index a82451cf9..61af11ef0 100644 --- a/ansible/roles/prometheus/tasks/main.yml +++ b/ansible/roles/prometheus/tasks/main.yml @@ -13,6 +13,8 @@ network_mode: host restart_policy: unless-stopped command: '-config.file=/etc/prometheus/prometheus.yml' + ports: + - "9090:9090" volumes: - /srv/newsblur/docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml - /srv/newsblur/docker/volumes/prometheus_data:/prometheus \ No newline at end of file