<% require 'resolv' %> <% @servers.each do |nm_server, server| %> <%= nm_server %><% if server[:ssh_address] %>,[<%= Resolv.getaddress(server[:ssh_address]) %>]:<%= server[:ssh_port] %><% end %> <%= server[:ssh_host_key] %> <% end %>