Replaced node_ip with {{ hostvars[groups['broker'][0]]['ansible_default_ipv4']['address'] }}