From 1ab8bc184c7d8dc4af076ce569cf91cc79285b10 Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Sat, 8 Aug 2015 05:28:07 +0000 Subject: [PATCH] Fixes group name for keepalived.conf Also included is removing the executable bit on haproxy.cfg.j2 as it should not have those permissions in the repo. It has no affect on the templating process. Change-Id: I9c76e528896bdf1799b8eeb62ae77bc4ad0b4449 Closes-Bug: #1482832 --- ansible/roles/haproxy/templates/haproxy.cfg.j2 | 0 ansible/roles/haproxy/templates/keepalived.conf.j2 | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 ansible/roles/haproxy/templates/haproxy.cfg.j2 diff --git a/ansible/roles/haproxy/templates/haproxy.cfg.j2 b/ansible/roles/haproxy/templates/haproxy.cfg.j2 old mode 100755 new mode 100644 diff --git a/ansible/roles/haproxy/templates/keepalived.conf.j2 b/ansible/roles/haproxy/templates/keepalived.conf.j2 index baba1fda69..232ff8e46c 100644 --- a/ansible/roles/haproxy/templates/keepalived.conf.j2 +++ b/ansible/roles/haproxy/templates/keepalived.conf.j2 @@ -9,7 +9,7 @@ vrrp_instance Floating { state MASTER interface {{ api_interface }} virtual_router_id 51 - priority {{ groups['rabbitmq'].index(inventory_hostname) }} + priority {{ groups['haproxy'].index(inventory_hostname) }} advert_int 1 virtual_ipaddress { {{ kolla_internal_address }}