Minio and Ansible

280 views
Skip to first unread message

Andreas Wachter

unread,
Jan 18, 2022, 9:29:59 AM1/18/22
to Ansible Project
Hi,
I try to download a file from my minio with the following playbook:

- name: download file
aws_s3:
bucket: artifacts
object: awesome/file.jar
dest: /some/where/file.jar
mode: get
aws_access_key: ansible
aws_secret_key: xxxyyyzzz

Did I do something wrong? Can someone help me out?

Dick Visser

unread,
Jan 18, 2022, 11:56:56 AM1/18/22
to ansible...@googlegroups.com
If you tell us what problem you have, then maybe 

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ffdc7ee4-1e20-42bd-b938-b1a134d4abcan%40googlegroups.com.
--
Sent from a mobile device - please excuse the brevity, spelling and punctuation.

Andreas Wachter

unread,
Jan 18, 2022, 12:49:40 PM1/18/22
to Ansible Project
Ah, I forgot to add the error message...
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: botocore.exceptions.ClientError: An error occurred (403) when calling the HeadBucket operation: Forbidden fatal: [minecraft]: FAILED! => {"boto3_version": "1.20.37", "botocore_version": "1.23.37", "changed": false, "error": {"code": "403", "message": "Forbidden"}, "msg": "Failed while looking up bucket (during bucket_check) artifacts.: An error occurred (403) when calling the HeadBucket operation: Forbidden", "response_metadata": {"host_id": "", "http_headers": {"connection": "keep-alive", "content-length": "209", "content-type": "text/xml; charset=utf-8", "date": "Tue, 18 Jan 2022 07:22:01 GMT", "server": "nginx/1.20.1"}, "http_status_code": 403, "request_id": "", "retry_attempts": 0}}

I know that a 403 means forbidden, but I really don't get it. Everything is reachable from my server.

Andreas Wachter

unread,
Jan 18, 2022, 1:42:58 PM1/18/22
to Ansible Project
seems to be my reverse proxy setup...
Reply all
Reply to author
Forward
0 new messages