main.yml 976 B

12345678910111213141516
  1. ---
  2. __allowed_es_types: ["data-master", "data-client", "master", "client"]
  3. __es_log_appenders: ['file', 'console']
  4. __kibana_index_modes: ["unique", "shared_ops"]
  5. __es_local_curl: "curl -s --cacert /etc/elasticsearch/secret/admin-ca --cert /etc/elasticsearch/secret/admin-cert --key /etc/elasticsearch/secret/admin-key"
  6. __elasticsearch_ready_retries: "{{ openshift_logging_elasticsearch_poll_timeout_minutes | default(20) | int * 2 }}"
  7. # TODO: integrate these
  8. es_node_quorum: "{{ openshift_logging_elasticsearch_replica_count | int/2 + 1 }}"
  9. es_min_masters_default: "{{ (openshift_logging_elasticsearch_replica_count | int / 2 | round(0,'floor') + 1) | int }}"
  10. es_min_masters: "{{ (openshift_logging_elasticsearch_replica_count == 1) | ternary(1, es_min_masters_default) }}"
  11. es_recover_after_nodes: "{{ openshift_logging_elasticsearch_replica_count | int }}"
  12. es_recover_expected_nodes: "{{ openshift_logging_elasticsearch_replica_count | int }}"
  13. full_restart_cluster: False