ansible_s3 does not support delegate_to

Hi Guys,

when i try to add the

delegate_to: localhost

in my playbook to put file on AWS S3 it shows the error below:

FAILED! => {“changed”: false, “failed”: true, “msg”: “unsupported parameter for module: delegate_to”}

I don’t know if this is an issue or it’s a mistake on my playbook.

Thanks in advance!

from error, you are putting it in the wrong place, if you don't show
more, it is hard to help.