diff options
Diffstat (limited to 'prometheus')
| -rw-r--r-- | prometheus/server/tasks/main.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/prometheus/server/tasks/main.yaml b/prometheus/server/tasks/main.yaml index 35ab0d3..0bff5fc 100644 --- a/prometheus/server/tasks/main.yaml +++ b/prometheus/server/tasks/main.yaml @@ -46,6 +46,12 @@ become: yes systemd: name="grafana-server.service" enabled="yes" state="started" +- name: wait for grafana to be ready + wait_for: + port: 3000 + host: localhost + timeout: 30 + ### TODO: This is broken and not sure why. Started having errors one day. I ### supect bug with anisble module # - name: install grafana prometheus data source |
