diff options
Diffstat (limited to 'roles/prometheus/tasks')
-rw-r--r-- | roles/prometheus/tasks/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/prometheus/tasks/main.yml b/roles/prometheus/tasks/main.yml new file mode 100644 index 0000000..aacdb65 --- /dev/null +++ b/roles/prometheus/tasks/main.yml @@ -0,0 +1,11 @@ + +# prometheus ~~ roles/prometheus/tasks/main.yml +# init prometheus database, mainly used by grafana + +--- + +- name: install prometheus + package: name=prometheus state=present + +- name: ensure prometheus service is started and enabled + service: name=prometheus state=restarted enabled=true |