Created
October 23, 2017 05:37
-
-
Save morph027/6c12bd30a1e302af743647a8c4381fe5 to your computer and use it in GitHub Desktop.
Ansible Jinja2 template for generating Minio cluster systemd control script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MINIO_VOLUMES={% for minio_node in minio_nodes -%} | |
https://{{ minio_node }}/home/minio/volume | |
{%- if not loop.last %} {% endif -%} | |
{%- endfor %} | |
{% if minio_access_key %} | |
MINIO_ACCESS_KEY={{ minio_access_key }} | |
{% endif %} | |
{% if minio_secret_key %} | |
MINIO_SECRET_KEY={{ minio_secret_key }} | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment