mirror of
https://github.com/atosatto/ansible-minio.git
synced 2024-11-25 11:55:10 +01:00
initial multiarch support
This commit is contained in:
parent
78956bfbdb
commit
2eaa9d8913
@ -1,4 +1,6 @@
|
||||
---
|
||||
- include: preflight.yml
|
||||
|
||||
- name: add the python sni support to legacy python installations
|
||||
include: python_sni.yml
|
||||
when:
|
||||
|
12
tasks/preflight.yml
Normal file
12
tasks/preflight.yml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Compose Minio download url
|
||||
set_fact:
|
||||
minio_server_download_url: "https://dl.minio.io/server/minio/release/linux-{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}/minio"
|
||||
when:
|
||||
- minio_install_server
|
||||
|
||||
- name: Compose MC download url
|
||||
set_fact:
|
||||
minio_client_download_url: "https://dl.minio.io/client/mc/release/linux-{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}/mc"
|
||||
when:
|
||||
- minio_install_client
|
@ -1,5 +1,7 @@
|
||||
---
|
||||
|
||||
# Minio and MC download urls
|
||||
minio_server_download_url: https://dl.minio.io/server/minio/release/linux-amd64/minio
|
||||
minio_client_download_url: https://dl.minio.io/client/mc/release/linux-amd64/mc
|
||||
go_arch_map:
|
||||
i386: '386'
|
||||
x86_64: 'amd64'
|
||||
aarch64: 'arm64'
|
||||
armv7l: 'arm'
|
||||
armv6l: 'arm6vl'
|
||||
|
Loading…
Reference in New Issue
Block a user