Create the task and add the host for prometheus

certbot_on_virtu
grizzly 2019-04-13 12:03:03 +02:00
parent f65b31fd87
commit 363556e6e2
3 changed files with 16 additions and 0 deletions

1
hosts
View File

@ -10,6 +10,7 @@
[crans-container]
[crans-vm]
prometheus.adm.crans.org
[ovh-server]

6
monitoring.yml 100644
View File

@ -0,0 +1,6 @@
---
# Playbook for monitoring
- hosts: prometheus.adm.crans.org
roles:
- prometheus

View File

@ -0,0 +1,9 @@
---
- name: Instal Prometheus
apt:
update_cache: true
name: prometheus
register: apt_result
retries: 3
until: apt_result is succeeded