main.yml 724 B

123456789101112
  1. ---
  2. __latest_es_version: "3_5"
  3. __allowed_es_versions: ["3_5", "3_6"]
  4. __allowed_es_types: ["data-master", "data-client", "master", "client"]
  5. # TODO: integrate these
  6. openshift_master_config_dir: "{{ openshift.common.config_base }}/master"
  7. es_node_quorum: "{{ openshift_logging_elasticsearch_replica_count | int/2 + 1 }}"
  8. es_min_masters_default: "{{ (openshift_logging_elasticsearch_replica_count | int / 2 | round(0,'floor') + 1) | int }}"
  9. es_min_masters: "{{ (openshift_logging_elasticsearch_replica_count == 1) | ternary(1, es_min_masters_default) }}"
  10. es_recover_after_nodes: "{{ openshift_logging_elasticsearch_replica_count | int }}"
  11. es_recover_expected_nodes: "{{ openshift_logging_elasticsearch_replica_count | int }}"