| {%- from "elasticsearch/map.jinja" import server with context -%} |
| --- |
| # Remember, leave a key empty if there is no value. None will be a string, |
| # not a Python "NoneType" |
| client: |
| hosts: |
| - {% if server.bind.address == '0.0.0.0' %}127.0.0.1{% else %}{{ server.bind.address }}{% endif %} |
| port: {{ server.bind.port }} |
| url_prefix: |
| use_ssl: False |
| certificate: |
| client_cert: |
| client_key: |
| aws_key: |
| aws_secret_key: |
| aws_region: |
| ssl_no_validate: False |
| http_auth: |
| timeout: {{ server.curator.timeout|default(120) }} |
| master_only: {{ server.curator.get('master_only', False)|lower }} |
| |
| logging: |
| loglevel: {{ server.curator.loglevel|default("INFO") }} |
| logfile: {{ server.curator.logfile|default("") }} |
| logformat: {{ server.curator.logformat|default("default") }} |