Created a template where variables for hostname and IP-address, but in the bulk sample saw that there are no columns for ip-addresses or hostnames.
Is it possible to pass these variables to APIC-EM, so the template can use the IP-addresses and hostnames from the csv-file
No, not in the current release. It is planned. For now you need to register the switches manually.