Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set a default value for the 'minio_server_datadirs' variable #24

Merged
merged 1 commit into from
Aug 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ minio_server_addr: ":9091"
The Minio server listen address.

```yaml
minio_server_datadirs: [ ]
minio_server_datadirs:
- /var/lib/minio
```

Directories of the folder containing the minio server data
**NB**: This variable must always be set by the role, otherwise the minio service will not start.

```yaml
minio_server_make_datadirs: true
```

Create directories from `minio_server_datadirs`
Create directories from `minio_server_datadirs`

```yaml
minio_server_cluster_nodes: [ ]
Expand Down
11 changes: 6 additions & 5 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@
minio_server_bin: /usr/local/bin/minio
minio_client_bin: /usr/local/bin/mc

# Runtime user and group for the minio server service
# Runtime user and group for the Minio server service
minio_user: minio
minio_group: minio

# Path to the file containing the ENV variables for the minio server
# Path to the file containing the ENV variables for the Minio server
minio_server_envfile: /etc/default/minio

# Minio server listen address
minio_server_addr: ":9091"

# Minio server data directories
minio_server_datadirs: [ ]
minio_server_datadirs:
- /var/lib/minio
minio_server_make_datadirs: true

# Minio server cluster node list.
Expand All @@ -24,13 +25,13 @@ minio_server_cluster_nodes: [ ]
# Additional environment variables to be set in minio server environment
minio_server_env_extra: ""

# Additional minio server CLI options
# Additional Minio server CLI options
minio_server_opts: ""

# Minio access and secret keys
minio_access_key: ""
minio_secret_key: ""

# Switches to enable/disable the minio server and/or minio client installation.
# Switches to enable/disable the Minio server and/or Minio client installation.
minio_install_server: true
minio_install_client: true