• Stars
    star
    114
  • Rank 308,031 (Top 7 %)
  • Language
    Shell
  • License
    MIT License
  • Created almost 8 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ansible role to install the minio S3 compatible object storage server (https://minio.io)

minio logo

Ansible Role: Minio

Build Status License Ansible Role GitHub tag

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

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

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

Installation path of the Minio server and client binaries.

minio_server_release: ""
minio_client_release: ""

Release to install for both server and client; lastest if the default. Can be 'RELEASE.2019-06-27T21-13-50Z' for instance.

minio_user: minio
minio_group: minio

Name and group of the user running the minio server. NB: This role automatically creates the minio user and/or group if these does not exist in the system.

minio_server_envfile: /etc/default/minio

Path to the file containing the minio server configuration ENV variables.

minio_server_addr: ":9091"

The Minio server listen address.

minio_server_datadirs:
  - /var/lib/minio

Directories of the folder containing the minio server data

minio_server_make_datadirs: true

Create directories from minio_server_datadirs

minio_server_cluster_nodes: [ ]

Set a list of nodes to create a distributed cluster.

In this mode, ansible will create your server datadirs, but use this list for the server startup. Note you will need a number of disks to satisfy Minio's distributed storage requirements.

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: ""

Additional environment variables to be set in Minio server environment

minio_server_opts: ""

Additional CLI options that must be appended to the minio server start command.

minio_access_key: ""
minio_secret_key: ""

Minio access and secret keys.

minio_install_server: true
minio_install_client: true

Switches to disable minio server and/or minio client installation.

Dependencies

None.

Example Playbook

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

Changelog

See changelog.

License

MIT

More Repositories

1

ansible-dockerswarm

Docker Engine clustering using "Swarm Mode" and Ansible
Python
264
star
2

ansible-prometheus

An Ansible role to install and configure Prometheus (https://prometheus.io)
Python
10
star
3

ansible-grafana

An Ansible role to install and configure Grafana (https://grafana.com)
Python
8
star
4

ansible-gitea

Ansible role to install and configure the Gitea (https://gitea.io) self-hosted Git service
Shell
8
star
5

ansible-datacenter

Docker Datacenter provisioning in Ansible.
6
star
6

container-labs

Collection of scripts and notes developed exploring Containers and Docker
Shell
5
star
7

dotfiles

My personal collection of dotfiles
Vim Script
5
star
8

ansible-caddy

An Ansible role to install and configure Caddy (https://caddyserver.com/)
Python
5
star
9

ansible-requirements-lint

Keep you Ansible dependencies up to date
Go
4
star
10

vagrant-sqlphp

A Vagrant VM providing a Nginx, PHP and MariaDB on Centos7
Puppet
4
star
11

ansible-alertmanager

An Ansible role to install and configure Prometheus Alertmanager (https://prometheus.io/docs/alerting/alertmanager/)
Shell
3
star
12

dockerfiles

Dockerfiles 🐳
Shell
2
star
13

vagrant-mongophp

A Vagrant VM providing a Nginx, PHP, MongoDB and Redis on Centos7
Puppet
2
star
14

vagrant-node

A ready to use Vagrant VM providing a NodeJS + MongoDB stack
Puppet
2
star
15

presentation-docker101

Docker 101 - Coding, testing, shipping with Docker
HTML
1
star
16

ansible-node_exporter

An Ansible role to install and configure Prometheus node_exporter (https://github.com/prometheus/node_exporter)
Shell
1
star
17

vagrant-proto

Vagrant VM to automatically setup the development environment needed to hack with Proto (http://proto.bbn.com/)
Ruby
1
star
18

ansible-packages-extras

Ansible library modules to extract additional package informations from YUM and APT.
Python
1
star