I’m trying to have host templates that already come with host groups (things like linux, agent) but then add more groups to the host based on that template (server location etc.) all host groups from the template get replaced. Is there a way to just add to the host groups already there from the template?
This is a quite long lasting bug/feature request:
For now you will have to add all the groups manually.
Or you use the assign where statements at the host groups side, if that is possible for you.