Can you share the Ansible Script that you have, Are you using the 
customization parameter? 

Also, have you tried using some sort of Pipeline where you can run a second 
Script using Ansible.builtin.hostname



On Wednesday, June 29, 2022 at 8:13:06 PM UTC+1 [email protected] wrote:

> 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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d2025661-3e06-4fc8-91ad-cd173b76b85fn%40googlegroups.com.

Reply via email to