Use node[:ipaddress] in hosts instead of node[:ip]