diff --git a/ansible/roles/haproxy/tasks/precheck.yml b/ansible/roles/haproxy/tasks/precheck.yml index 49a1f3bbd7b42ba1c094a4ef02c268387b425d6f..6a99c2b78f61d57b525a7b9cadbb65005a2557a1 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