I was able to deploy VMs from a template and they get renamed but the hostname doesn't actually get updated. I am still trying to figure out how to do that but I have a bash script that I run on the VM, SUSE 15 Linux server, which joins to a domain and adds to SUSE Manager. For the life of me I cannot figure out what I need to add to my Ansible playbook so when these VMs get deployed from the template the hostname gets updated with what I configured and that script gets run with the appropriate switches.
Any guidance or help would be appreciated.