From 70b4bf6cbf0c8582409bf10f1d67ba3ae75f01b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Wed, 18 Sep 2019 20:13:10 +0200 Subject: [PATCH] Fix for haproxy precheck failing on CentOS running non-root MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7f2b3a6f1eacd4cabcaa31de543b7489bc5e654b Closes-bug: #1844636 Signed-off-by: Radosław Piliszek --- ansible/roles/haproxy/tasks/precheck.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/haproxy/tasks/precheck.yml b/ansible/roles/haproxy/tasks/precheck.yml index 49a1f3bbd7..6a99c2b78f 100644 --- a/ansible/roles/haproxy/tasks/precheck.yml +++ b/ansible/roles/haproxy/tasks/precheck.yml @@ -170,6 +170,7 @@ - api_interface_address != kolla_internal_vip_address - name: Checking if kolla_internal_vip_address is in the same network as api_interface on all nodes + become: true command: ip -o addr show dev {{ api_interface }} register: ip_addr_output changed_when: false