mirror of
https://github.com/atosatto/ansible-minio.git
synced 2024-12-01 12:53:20 +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
|
- name: add the python sni support to legacy python installations
|
||||||
include: python_sni.yml
|
include: python_sni.yml
|
||||||
when:
|
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 @@
|
|||||||
---
|
---
|
||||||
|
go_arch_map:
|
||||||
# Minio and MC download urls
|
i386: '386'
|
||||||
minio_server_download_url: https://dl.minio.io/server/minio/release/linux-amd64/minio
|
x86_64: 'amd64'
|
||||||
minio_client_download_url: https://dl.minio.io/client/mc/release/linux-amd64/mc
|
aarch64: 'arm64'
|
||||||
|
armv7l: 'arm'
|
||||||
|
armv6l: 'arm6vl'
|
||||||
|
Loading…
Reference in New Issue
Block a user