2020-05-19 09:13:53 +00:00
|
|
|
---
|
|
|
|
title: minio
|
|
|
|
type: docs
|
|
|
|
---
|
|
|
|
|
|
|
|
[![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.minio) [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.minio?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.minio) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?label=license)](LICENSE)
|
|
|
|
|
|
|
|
Setup Minio S3 server
|
|
|
|
|
|
|
|
* [Default Variables](#default-variables)
|
2020-05-25 21:25:41 +00:00
|
|
|
* [minio_access_key](#minio_access_key)
|
|
|
|
* [minio_base_dir](#minio_base_dir)
|
|
|
|
* [minio_bind_ip](#minio_bind_ip)
|
|
|
|
* [minio_bind_port](#minio_bind_port)
|
|
|
|
* [minio_client_version](#minio_client_version)
|
|
|
|
* [minio_data_dirs](#minio_data_dirs)
|
|
|
|
* [minio_extra_groups](#minio_extra_groups)
|
|
|
|
* [minio_group](#minio_group)
|
|
|
|
* [minio_packages](#minio_packages)
|
|
|
|
* [minio_secret_key](#minio_secret_key)
|
|
|
|
* [minio_server_env_extra](#minio_server_env_extra)
|
|
|
|
* [minio_server_opts](#minio_server_opts)
|
|
|
|
* [minio_server_version](#minio_server_version)
|
|
|
|
* [minio_user](#minio_user)
|
|
|
|
* [minio_user_home](#minio_user_home)
|
2020-05-19 09:13:53 +00:00
|
|
|
* [Dependencies](#dependencies)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Default Variables
|
|
|
|
|
|
|
|
### minio_access_key
|
|
|
|
|
2020-05-20 20:49:02 +00:00
|
|
|
Minio access key (should be changed for prod environments)
|
|
|
|
|
2020-05-19 09:13:53 +00:00
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2020-05-20 20:49:02 +00:00
|
|
|
minio_access_key: demo
|
2020-05-19 09:13:53 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### minio_base_dir
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
minio_base_dir: /opt/minio
|
|
|
|
```
|
|
|
|
|
2020-05-20 07:48:15 +00:00
|
|
|
### minio_bind_ip
|
2020-05-19 09:13:53 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2020-05-20 07:48:15 +00:00
|
|
|
minio_bind_ip: 127.0.0.1
|
2020-05-19 09:13:53 +00:00
|
|
|
```
|
|
|
|
|
2020-05-20 07:48:15 +00:00
|
|
|
### minio_bind_port
|
2020-05-19 09:13:53 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2020-05-20 07:48:15 +00:00
|
|
|
minio_bind_port: 61000
|
2020-05-19 09:13:53 +00:00
|
|
|
```
|
|
|
|
|
2020-05-20 07:48:15 +00:00
|
|
|
### minio_client_version
|
2020-05-19 09:13:53 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2020-05-20 07:48:15 +00:00
|
|
|
minio_client_version: latest
|
2020-05-19 09:13:53 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### minio_data_dirs
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
minio_data_dirs:
|
2020-05-20 07:48:15 +00:00
|
|
|
- '{{ minio_base_dir }}/data'
|
2020-05-19 09:13:53 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### minio_extra_groups
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
minio_extra_groups: []
|
|
|
|
```
|
|
|
|
|
|
|
|
### minio_group
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
minio_group: '{{ minio_user }}'
|
|
|
|
```
|
|
|
|
|
|
|
|
### minio_packages
|
|
|
|
|
2020-05-20 20:49:02 +00:00
|
|
|
Packages to install as requirements for the Minio server.
|
|
|
|
|
2020-05-19 09:13:53 +00:00
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
minio_packages: []
|
|
|
|
```
|
|
|
|
|
|
|
|
### minio_secret_key
|
|
|
|
|
2020-05-20 20:49:02 +00:00
|
|
|
Minio secret key (should be changed for prod environments)
|
|
|
|
|
2020-05-19 09:13:53 +00:00
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2020-05-20 20:49:02 +00:00
|
|
|
minio_secret_key: passphrase
|
2020-05-19 09:13:53 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### minio_server_env_extra
|
|
|
|
|
2020-05-20 20:49:02 +00:00
|
|
|
Additional environment variables to be set in minio server environment.
|
|
|
|
|
2020-05-19 09:13:53 +00:00
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
minio_server_env_extra: []
|
|
|
|
```
|
|
|
|
|
|
|
|
### minio_server_opts
|
|
|
|
|
2020-05-20 20:49:02 +00:00
|
|
|
Additional Minio server CLI options.
|
|
|
|
|
2020-05-19 09:13:53 +00:00
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
minio_server_opts: []
|
|
|
|
```
|
|
|
|
|
2020-05-20 07:48:15 +00:00
|
|
|
### minio_server_version
|
2020-05-19 09:13:53 +00:00
|
|
|
|
2020-05-20 20:49:02 +00:00
|
|
|
Minio release to install.
|
|
|
|
|
2020-05-19 09:13:53 +00:00
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2020-05-20 07:48:15 +00:00
|
|
|
minio_server_version: latest
|
2020-05-19 09:13:53 +00:00
|
|
|
```
|
|
|
|
|
2020-05-20 20:49:02 +00:00
|
|
|
#### Example usage
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
minio_server_version: 2020-05-16T01-33-21Z
|
|
|
|
```
|
|
|
|
|
2020-05-20 07:48:15 +00:00
|
|
|
### minio_user
|
2020-05-19 09:13:53 +00:00
|
|
|
|
2020-05-20 20:49:02 +00:00
|
|
|
Runtime user and group for the Minio server service.
|
|
|
|
|
2020-05-19 09:13:53 +00:00
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2020-05-20 07:48:15 +00:00
|
|
|
minio_user: minio
|
2020-05-19 09:13:53 +00:00
|
|
|
```
|
|
|
|
|
2020-05-20 07:48:15 +00:00
|
|
|
### minio_user_home
|
2020-05-19 09:13:53 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2020-05-20 07:48:15 +00:00
|
|
|
minio_user_home: /home/{{ minio_user }}
|
2020-05-19 09:13:53 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
None.
|