networking_interfaces.each_value do |interface|
next unless options[:role].nil? || interface[:role].to_s == options[:role].to_s
networking_interfaces.each_value do |interface|
next unless options[:role].nil? || interface[:role].to_s == options[:role].to_s