Merge "Check for grafana api key"

This commit is contained in:
Zuul 2018-07-24 22:55:55 +00:00 committed by Gerrit Code Review
commit 0c7c08c67d

View File

@ -3,6 +3,12 @@
# Generate & Upload Browbeat OpenStack Grafana Dashboards
#
# check that grafana_apikey is entered prior to playbook run
- name: Check Grafana API key
fail:
msg="** Edit grafana_apikey in ../install/group_vars/all.yml before running **"
when: grafana_apikey is none
- name: Check Cloud Name
fail:
msg: "The Cloud name {{dashboard_cloud_name}} is reserved for a service, please use a different one"