main.yml 976 B

12345678910111213141516
  1. ---
  2. __latest_es_version: "3_6"
  3. __allowed_es_versions: ["3_5", "3_6", "3_7"]
  4. __allowed_es_types: ["data-master", "data-client", "master", "client"]
  5. __es_log_appenders: ['file', 'console']
  6. __kibana_index_modes: ["unique", "shared_ops"]
  7. __es_local_curl: "curl -s --cacert /etc/elasticsearch/secret/admin-ca --cert /etc/elasticsearch/secret/admin-cert --key /etc/elasticsearch/secret/admin-key"
  8. # TODO: integrate these
  9. openshift_master_config_dir: "{{ openshift.common.config_base }}/master"
  10. es_node_quorum: "{{ openshift_logging_elasticsearch_replica_count | int/2 + 1 }}"
  11. es_min_masters_default: "{{ (openshift_logging_elasticsearch_replica_count | int / 2 | round(0,'floor') + 1) | int }}"
  12. es_min_masters: "{{ (openshift_logging_elasticsearch_replica_count == 1) | ternary(1, es_min_masters_default) }}"
  13. es_recover_after_nodes: "{{ openshift_logging_elasticsearch_replica_count | int }}"
  14. es_recover_expected_nodes: "{{ openshift_logging_elasticsearch_replica_count | int }}"