initial multiarch support

This commit is contained in:
paulfantom 2018-06-25 15:36:37 +02:00
parent 78956bfbdb
commit 2eaa9d8913
No known key found for this signature in database
GPG Key ID: 12AE0185401674E7
3 changed files with 20 additions and 4 deletions

View File

@ -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
View 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

View File

@ -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'