I was wondering if it’s possible to add some sort of alias to a host, so either the name of the host or the alias can be used inside an import inside another host definition?
If not, what would be the best way to go about this, do you think?
Sorry, I do mean giving an alias to a host template! I got my terminology wrong there.
Eg I have a host template my-template and I want to give it the alias my-template-dev, so I can use the import my-template with some hosts and my-template-dev with some other hosts.