I have a task that uses the unarchive module to download a source package from a site on the internet. However, I’m getting an HTTP 429 “Too many requests” message when this task runs, as the parallel calls from multiple hosts are making the request at the same time.
Is there any simple way to stagger these requests? I know the ‘serial’ option exists but that only works at the playbook level and I definitely don’t want to serialise every task in this role.
Thanks,
Guy