From 89b6416d8db61b0760fb611d2ad75336bbb2da8c Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Fri, 20 Mar 2020 20:32:44 -0400 Subject: [PATCH] Run Prometheus container --- roles/prometheus/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roles/prometheus/tasks/main.yml diff --git a/roles/prometheus/tasks/main.yml b/roles/prometheus/tasks/main.yml new file mode 100644 index 0000000..3e1db90 --- /dev/null +++ b/roles/prometheus/tasks/main.yml @@ -0,0 +1,5 @@ +- name: Start Prometheus container + docker_container: + name: "{{ prom_name }}" + image: prom/prometheus:{{ prom_version }} + restart_policy: always