Fix for haproxy precheck failing on CentOS running non-root

Change-Id: I7f2b3a6f1eacd4cabcaa31de543b7489bc5e654b
Closes-bug: #1844636
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
(cherry picked from commit 70b4bf6cbf)
This commit is contained in:
Radosław Piliszek 2019-09-18 20:13:10 +02:00
parent e24026ed25
commit 049998de13
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@
- inventory_hostname in groups['haproxy']
- name: Checking if kolla_internal_vip_address is in the same network as api_interface on all nodes
become: true
command: ip -4 -o addr show dev {{ api_interface }}
register: ip_addr_output
changed_when: false