From b2c6a715190074acdcbe784f836e015957765ad8 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Sat, 21 Mar 2020 01:35:51 -0400 Subject: [PATCH] Expose Prometheus on port 80 --- roles/prometheus/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/prometheus/tasks/main.yml b/roles/prometheus/tasks/main.yml index 3e1db90..b434ab8 100644 --- a/roles/prometheus/tasks/main.yml +++ b/roles/prometheus/tasks/main.yml @@ -2,4 +2,7 @@ docker_container: name: "{{ prom_name }}" image: prom/prometheus:{{ prom_version }} + state: started restart_policy: always + ports: + - "80:9090"