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.
[email protected] schrieb am Dienstag, 18. Januar 2022 um 17:56:56 UTC+1:
> If you tell us what problem you have, then maybe
>
> On Tue, 18 Jan 2022 at 15:29, Andreas Wachter <[email protected]> wrote:
>
>> Hi,
>> I try to download a file from my minio with the following playbook:
>>
>> - name: download file
>> aws_s3:
>> s3_url: https://minio.xxx.yyy
>> 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?
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/ffdc7ee4-1e20-42bd-b938-b1a134d4abcan%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/ansible-project/ffdc7ee4-1e20-42bd-b938-b1a134d4abcan%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> Sent from a mobile device - please excuse the brevity, spelling and
> punctuation.
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/6b651d25-b162-435e-8a46-c07b9ff8ae8dn%40googlegroups.com.