diff options
author | binary <me@rgoncalves.se> | 2020-11-21 22:57:13 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-21 22:57:13 +0100 |
commit | 50492a1b34b6b766c1369425a27678968bb4d28e (patch) | |
tree | f5db6ca67d6e193259d786c5e3b820fab11ec235 /roles/prometheus | |
parent | a2705cf6057208708cefcfcb2ee0d285b9d3ec47 (diff) | |
download | infrastructure-50492a1b34b6b766c1369425a27678968bb4d28e.tar.gz |
First try with grafana automation.
Diffstat (limited to 'roles/prometheus')
-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 |