|
@@ -20,8 +20,6 @@
|
|
|
es_pv_selector: "{{ openshift_logging_es_pv_selector }}"
|
|
|
es_cpu_limit: "{{ openshift_logging_es_cpu_limit }}"
|
|
|
es_memory_limit: "{{ openshift_logging_es_memory_limit }}"
|
|
|
- es_number_of_shards: "{{ openshift_logging_es_number_of_shards }}"
|
|
|
- es_number_of_replicas: "{{ openshift_logging_es_number_of_replicas }}"
|
|
|
with_together:
|
|
|
- "{{ openshift_logging_facts.elasticsearch.deploymentconfigs.keys() }}"
|
|
|
- "{{ openshift_logging_facts.elasticsearch.deploymentconfigs.values() }}"
|
|
@@ -43,8 +41,6 @@
|
|
|
es_pv_selector: "{{ openshift_logging_es_pv_selector }}"
|
|
|
es_cpu_limit: "{{ openshift_logging_es_cpu_limit }}"
|
|
|
es_memory_limit: "{{ openshift_logging_es_memory_limit }}"
|
|
|
- es_number_of_shards: "{{ openshift_logging_es_number_of_shards }}"
|
|
|
- es_number_of_replicas: "{{ openshift_logging_es_number_of_replicas }}"
|
|
|
with_sequence: count={{ openshift_logging_es_cluster_size | int - openshift_logging_facts.elasticsearch.deploymentconfigs | count }}
|
|
|
|
|
|
# --------- Tasks for Operation clusters ---------
|
|
@@ -80,8 +76,6 @@
|
|
|
es_pv_selector: "{{ openshift_logging_es_ops_pv_selector }}"
|
|
|
es_cpu_limit: "{{ openshift_logging_es_ops_cpu_limit }}"
|
|
|
es_memory_limit: "{{ openshift_logging_es_ops_memory_limit }}"
|
|
|
- es_number_of_shards: "{{ openshift_logging_es_ops_number_of_shards }}"
|
|
|
- es_number_of_replicas: "{{ openshift_logging_es_ops_number_of_replicas }}"
|
|
|
with_together:
|
|
|
- "{{ openshift_logging_facts.elasticsearch_ops.deploymentconfigs.keys() }}"
|
|
|
- "{{ openshift_logging_facts.elasticsearch_ops.deploymentconfigs.values() }}"
|
|
@@ -105,8 +99,6 @@
|
|
|
es_pv_selector: "{{ openshift_logging_es_ops_pv_selector }}"
|
|
|
es_cpu_limit: "{{ openshift_logging_es_ops_cpu_limit }}"
|
|
|
es_memory_limit: "{{ openshift_logging_es_ops_memory_limit }}"
|
|
|
- es_number_of_shards: "{{ openshift_logging_es_ops_number_of_shards }}"
|
|
|
- es_number_of_replicas: "{{ openshift_logging_es_ops_number_of_replicas }}"
|
|
|
with_sequence: count={{ openshift_logging_es_ops_cluster_size | int - openshift_logging_facts.elasticsearch_ops.deploymentconfigs | count }}
|
|
|
when:
|
|
|
- openshift_logging_use_ops | bool
|