-
Notifications
You must be signed in to change notification settings - Fork 269
/
minio.yml
executable file
·49 lines (47 loc) · 1.91 KB
/
minio.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/env ansible-playbook
---
#==============================================================#
# File : minio.yml
# Desc : setup minio service
# Ctime : 2022-11-10
# Mtime : 2024-11-21
# Docs : https://pigsty.io/docs/minio
# Path : minio.yml
# License : AGPLv3 @ https://pigsty.io/docs/about/license
# Copyright : 2018-2024 Ruohang Feng / Vonng ([email protected])
#==============================================================#
- name: MINIO
become: yes
hosts: all
gather_facts: no
roles:
- { role: node_id , tags: node-id } # get node identity (always)
- { role: minio , tags: minio ,when: minio_cluster is defined and minio_seq is defined }
#---------------------------------------------------------------
# Usage
#---------------------------------------------------------------
# 1. Make sure all nodes/disks are identical, and mounted properly
# 2. Define minio cluster in pigsty.yml
# 3. run ./minio.yml -l <cls> to deploy minio cluster
#
#---------------------------------------------------------------
# Tasks
#---------------------------------------------------------------
# minio-id : generate minio identity
# minio_install : install minio software
# - minio_os_user : create os user minio
# - minio_pkg : install minio/mcli rpm
# - minio_clean : remove minio data (with minio_clean=true flag)
# - minio_dir : create minio directories
# minio_config : generate minio config
# - minio_conf : minio main config
# - minio_cert : minio ssl cert
# - minio_dns : write minio dns records
# minio_launch : launch minio service
# minio_register : register minio to prometheus
# minio_provision : create minio aliases/buckets/users
# - minio_alias : create minio client alias
# - minio_bucket : create minio buckets
# - minio_user : create minio biz users
#---------------------------------------------------------------
...