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"