I need to generate hostnames for a concurrent service that contain 
sequences. So I create 5 AWS instances and I want to call them h001, h002, 
h003, h004, h005.

I create the instances concurrently and then use dynamic inventory to drive 
subsequent plays. How do I implement a sequence number in Ansible so that I 
can name these hosts in this way?

-- 
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/dc7dc00c-8ac0-4be4-88db-240e5e3905e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to