- hosts: all
user: vagrant
roles:
- - grafana
- nginx
+ - grafana
+ vars_files:
+ - vars/load-balance-vars.yml
vars:
- fqdn: "grafana.local"
+ fqdn: "grafana.ceph.com"
app_name: "grafana"
development_server: true
+ # ssl hosts need to be defined so that all required ssl certs are put into
+ # place. This is specially important when one host responds for multiple
+ # other domains.
+ ssl_hosts:
+ - hostname: "grafana.ceph.com"
+ ssl_cert: "files/ssl/dev/ssl/ssl.crt"
+ ssl_key: "files/ssl/dev/ssl/ssl.key"
+ - hostname: "shaman.ceph.com"
+ ssl_cert: "files/ssl/dev/ssl/ssl.crt"
+ ssl_key: "files/ssl/dev/ssl/ssl.key"
# only needed when enabling Github Auth
# github_client_id: "111aaa222"
# github_client_secret: "qwerty1234"
app_name: "graphite"
development_server: true
graphite_api_key: "secret"
+
+ # This has nothing to do with grafana, but uses nginx templating that is
+ # deployed on the same server. To prevent overwriting we set these here
+ # too. It also means that you must pass in both shaman node IPs
+ nginx_upstreams:
+ - name: shaman
+ fqdn: "shaman.ceph.com"
+ strategy: "least_conn"
+ servers: {
+ "{{ shaman_node1_ip }}",
+ "{{ shaman_node2_ip }}",
+ }
--- /dev/null
+---
+
+- hosts: all
+ user: vagrant
+ roles:
+ - nginx
+ vars_files:
+ - vars/load-balance-vars.yml
+ vars:
+ app_name: "shaman"
+ fqdn: "shaman.ceph.com"
+ development_server: true
+ # only needed when enabling Github Auth
+ # github_client_id: "111aaa222"
+ # github_client_secret: "qwerty1234"