]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: create a load-balance vars file
authorAlfredo Deza <adeza@redhat.com>
Fri, 15 Jul 2016 20:16:50 +0000 (16:16 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 20 Jul 2016 12:26:49 +0000 (08:26 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ansible/vars/load-balance-vars.yml [new file with mode: 0644]

diff --git a/ansible/vars/load-balance-vars.yml b/ansible/vars/load-balance-vars.yml
new file mode 100644 (file)
index 0000000..d9d9539
--- /dev/null
@@ -0,0 +1,11 @@
+---
+
+# These values make the nginx role configure `nginx.conf` for load balancing
+# the shaman IPs.
+nginx_upstreams:
+  - name: "shaman"
+    fqdn: "shaman.ceph.com"
+    strategy: "least_conn"
+    servers:
+      - "{{ shaman_node1_ip }}"
+      - "{{ shaman_node2_ip }}"