You can use the get_url module which handles basic auth and file retrieval from a URL. This can be combined with the with_items
directive containing a list of your jar files.
solved What is the best way to download bunch of .jar files from specific JFrog Artifactory using ansible script?