boolean to force an upgrade
This commit is contained in:
parent
f91a977452
commit
54a07f1951
|
@ -5,6 +5,8 @@ A role that installs min.io, <https://min.io/>.
|
|||
The supported installation mode is *baremetal* and *distributed*.
|
||||
minio is not installed from a package, but the binary is downloaded and placed into `/usr/local/bin`.
|
||||
|
||||
Set the `minio_upgrade_executable` to `True` if you want to upgrade an existing installation.
|
||||
|
||||
Role Variables
|
||||
--------------
|
||||
|
||||
|
@ -16,6 +18,7 @@ minio_enabled: true
|
|||
minio_binary: 'minio'
|
||||
minio_binary_download: 'https://dl.min.io/server/minio/release/linux-amd64/{{ minio_binary }}'
|
||||
minio_download_validate_certs: true
|
||||
minio_upgrade_executable: false
|
||||
minio_work_dir: /usr/local
|
||||
minio_install_dir: '{{ minio_work_dir }}/bin'
|
||||
minio_executable: '{{ minio_install_dir }}/{{ minio_binary }}'
|
||||
|
|
|
@ -4,6 +4,7 @@ minio_enabled: true
|
|||
minio_binary: 'minio'
|
||||
minio_binary_download: 'https://dl.min.io/server/minio/release/linux-amd64/{{ minio_binary }}'
|
||||
minio_download_validate_certs: true
|
||||
minio_upgrade_executable: false
|
||||
minio_work_dir: /usr/local
|
||||
minio_install_dir: '{{ minio_work_dir }}/bin'
|
||||
minio_executable: '{{ minio_install_dir }}/{{ minio_binary }}'
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
url: '{{ minio_binary_download }}'
|
||||
dest: '{{ minio_executable }}'
|
||||
validate_certs: '{{ minio_download_validate_certs }}'
|
||||
force: '{{ minio_upgrade_executable }}'
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
|
|
Loading…
Reference in New Issue