xoxys.minio/templates/etc/sysconfig/minio.j2
Robert Kaussow a3807effc8
All checks were successful
continuous-integration/drone/push Build is passing
feat: refactor role to work with versions after 2021-07-08T01-15-01Z
2021-07-10 14:15:00 +02:00

15 lines
575 B
Django/Jinja

#jinja2: lstrip_blocks: True
{{ ansible_managed | comment }}
MINIO_VOLUMES="{{ minio_data_dirs | join(' ') }}"
MINIO_OPTS="--address {{ minio_bind_ip }}:{{ minio_bind_port }} --console-address {{ minio_console_bind_ip }}:{{ minio_console_bind_port }} {{ minio_server_opts | join(' ') }}"
MINIO_ROOT_USER="{{ minio_access_key }}"
MINIO_ROOT_PASSWORD="{{ minio_secret_key }}"
{% if minio_kms_secret_key is defined %}
MINIO_KMS_SECRET_KEY={{ minio_kms_secret_key }}
{% endif %}
{% for extra in minio_server_env_extra %}
{{ extra.name | upper }}={{ extra.value }}
{% endfor %}