I have a list of servers to migrate, say: old_server_1 old_server_2 and a list of new servers, say: new_server_1 new_server_2 Because the names of the new servers are still undecided I want to use the old names in the hosts file, keep a server's new name as a variable in host_vars (newname) and then convert the old to new dynamically before comms start. Now, Ansible deploy to the names in the inventory file, but is there a way in which internally I can substitute, say old_server_1.newname for new_server_1? Thanks
-- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/27dd466e-307a-4f91-ae6d-0a400c9f5b06%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
