mirror of
https://github.com/atosatto/ansible-minio.git
synced 2025-01-19 20:31:32 +01:00
commit
6552eed84f
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
- name: Compose the Minio client download url
|
- name: Compose the Minio client download url
|
||||||
set_fact:
|
set_fact:
|
||||||
_minio_client_download_url: "https://dl.minio.io/client/mc/release/linux-{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}/mc"
|
_minio_client_download_url: "https://dl.minio.io/client/mc/release/linux-{{ go_arch }}/mc"
|
||||||
|
|
||||||
- name: "Get the Minio client checksum for {{ go_arch_map[ansible_architecture] | default(ansible_architecture) }} architecture"
|
- name: "Get the Minio client checksum for {{ go_arch }} architecture"
|
||||||
set_fact:
|
set_fact:
|
||||||
_minio_client_checksum: "{{ lookup('url', _minio_client_download_url + '.sha256sum').split(' ')[0] }}"
|
_minio_client_checksum: "{{ lookup('url', _minio_client_download_url + '.sha256sum').split(' ')[0] }}"
|
||||||
|
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
- name: Compose the Minio server download url
|
- name: Compose the Minio server download url
|
||||||
set_fact:
|
set_fact:
|
||||||
_minio_server_download_url: "https://dl.minio.io/server/minio/release/linux-{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}/minio"
|
_minio_server_download_url: "https://dl.minio.io/server/minio/release/linux-{{ go_arch }}/minio"
|
||||||
|
|
||||||
- name: "Get the Minio server checksum for {{ go_arch_map[ansible_architecture] | default(ansible_architecture) }} architecture"
|
- name: "Get the Minio server checksum for {{ go_arch }} architecture"
|
||||||
set_fact:
|
set_fact:
|
||||||
_minio_server_checksum: "{{ lookup('url', _minio_server_download_url + '.sha256sum').split(' ')[0] }}"
|
_minio_server_checksum: "{{ lookup('url', _minio_server_download_url + '.sha256sum').split(' ')[0] }}"
|
||||||
|
|
||||||
|
@ -5,3 +5,5 @@ go_arch_map:
|
|||||||
aarch64: 'arm64'
|
aarch64: 'arm64'
|
||||||
armv7l: 'arm'
|
armv7l: 'arm'
|
||||||
armv6l: 'arm6vl'
|
armv6l: 'arm6vl'
|
||||||
|
|
||||||
|
go_arch: "{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user