Best method to use uri for multiple machine parameters

Hi
I have success with the following ansible script to license a single machine.
Summary: Retrieve Machine ID > submit User/Password/Machine ID/Activation code … then submit license back to the machine to license the software.

What modules would work well for a multi machine senario using jenkins?

I looked at loops, include_roles, include_files, etc.

Any help appreciated.