Sai Sindhur Malleni 90bb494647 Update location of CI variables
This commit sets the variables for network creation to the
appropriate values. Since the network details are internal, this CI
variables file is being moved to internal git.

Change-Id: Ib55d2896991c74562f01e3cc56117af7110dc403
2017-02-02 14:31:33 -05:00

18 lines
814 B
YAML

---
# Sets up Grafana dashboards for the system data. this must be run after
# the overcloud setup because it checks the hosts file to determine what
# hosts exist to be dasboarded
- name: Setup Grafana Dashboards
shell:
"cd {{ ansible_env.HOME }}/browbeat/ansible; \
ansible-playbook -vvv -i hosts \
--extra-vars grafana_host={{ grafana_host_template }} \
--extra-vars grafana_username={{ grafana_username_template }} \
--extra-vars grafana_password={{ grafana_password_template }} \
--extra-vars dashboard_cloud_name={{ graphite_prefix_template }} \
install/grafana-dashboards.yml > {{ ansible_env.HOME }}/browbeat/results/dashboards.log"
environment:
ANSIBLE_SSH_ARGS: "-F {{ ansible_env.HOME }}/browbeat/ansible/ssh-config"
when: "{{ grafana_enabled_template }}"