atosatto.minio

<p><img src="https://avatars0.githubusercontent.com/u/695951?s=200&v=4" alt="minio logo" title="minio" align="right" height="60" /></p>

# Ansible Role: Minio

[![Build Status](https://travis-ci.org/atosatto/ansible-minio.svg?branch=master)](https://travis-ci.org/atosatto/ansible-minio)
[![License](https://img.shields.io/badge/license-MIT%20License-brightgreen.svg)](https://opensource.org/licenses/MIT)
[![Ansible Role](https://img.shields.io/badge/ansible%20role-atosatto.minio-blue.svg)](https://galaxy.ansible.com/atosatto/minio/)
[![GitHub tag](https://img.shields.io/github/tag/atosatto/ansible-minio.svg)](https://github.com/atosatto/ansible-minio/tags)

This role helps you install and set up the [Minio](https://minio.io/) server, which is compatible with S3 object storage, on RHEL/CentOS and Debian/Ubuntu systems.

## Requirements

No special requirements.

## Role Variables

Here are the configurable variables with their default values (check `defaults/main.yml`):

```yaml
minio_server_bin: /usr/local/bin/minio
minio_client_bin: /usr/local/bin/mc

These define where the Minio server and client programs will be installed.

minio_server_release: ""
minio_client_release: ""

Use this option to specify a specific version to install, or leave it blank for the latest version.

minio_user: minio
minio_group: minio

These set the user and group for running the Minio server. The role will automatically create these if they don't exist.

minio_server_envfile: /etc/default/minio

This is the path to the file for environment variables related to the Minio server configuration.

minio_server_addr: ":9091"

This sets the address where the Minio server will listen for connections.

minio_server_datadirs:
  - /var/lib/minio

These are the directories that will store data for the Minio server.

minio_server_make_datadirs: true

Set this to create the data directories listed in minio_server_datadirs.

minio_server_cluster_nodes: [ ]

Use this to specify multiple nodes for a distributed cluster setup. Make sure you have enough disks to meet Minio's distribution needs.

Example:

minio_server_datadirs:
  - '/minio-data'
  - ...
minio_server_cluster_nodes:
  - 'https://server1/minio-data'
  - 'https://server2/minio-data'
  - 'https://server3/minio-data'
  - ...
minio_server_env_extra: ""

Here, you can add extra environment variables for the Minio server.

minio_server_opts: ""

Use this for any additional command-line options when starting the Minio server.

minio_access_key: ""
minio_secret_key: ""

These are the access and secret keys for Minio.

minio_install_server: true
minio_install_client: true

You can disable the installation of the Minio server or client by setting these to false.

Dependencies

No dependencies.

Example Playbook

- name: "Install Minio"
  hosts: all
  become: yes
  roles:
    - { role: atosatto.minio }
  vars:
    minio_server_datadirs: [ "/minio-test" ]

Changelog

Check the changelog for updates.

License

MIT ```

Informazioni sul progetto

Install and configure the Minio S3 compatible object storage server on RHEL/CentOS and Debian/Ubuntu

Installa
ansible-galaxy install atosatto.minio
Licenza
mit
Download
141.1k
Proprietario
Automation fan-boy. Head in the ☁️. Loving Containers, Micro-Services, OpenSource, Golang and Python