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?