How to get node's ip address

hi!

Someone help?

How can i get each node’s ip address and call it on template configs?

thanks!

Oliver