Use group es_cluster
This commit is contained in:
parent
1062cddf06
commit
1a5f74eec0
@ -2,7 +2,7 @@
|
||||
|
||||
elasticsearch_http_port: 9200
|
||||
elasticsearch_nodes: |-
|
||||
{% for item in groups['kibana'] -%}
|
||||
{% for item in groups['es_cluster'] -%}
|
||||
{{ hostvars[item]['ip'] }}{% if not loop.last %}","{% endif %}
|
||||
{%- endfor %}
|
||||
elasticsearch_network_host: 172.16.0.161
|
||||
|
||||
Loading…
Reference in New Issue
Block a user