# Ansible-elasticsearch and network.bind\_host array

**URL:** <https://discuss.elastic.co/t/ansible-elasticsearch-and-network-bind-host-array/100987>\
**Category:** Elasticsearch\
**Created:** [September 19, 2017, 8:22am UTC](https://discuss.elastic.co/t/ansible-elasticsearch-and-network-bind-host-array/100987 "2017-09-19T08:22:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dopch](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@dopch](https://discuss.elastic.co/u/dopch)\
**Post date:** [September 19, 2017, 8:22am UTC](https://discuss.elastic.co/t/ansible-elasticsearch-and-network-bind-host-array/100987/1 "2017-09-19T08:22:25Z")

</div>

Good Morning,

Simple question for ansible-elasticsearch configuration for the network.bind\_host array  
How to setup array of interface properly with ansible ?

Her is part of my yml

- hosts: LIST  
user: USER1

result in config file for network part

network.bind\_host:

- _em4:ipv4_
- _local_  
network.publish\_host: _em4:ipv4_

Expected

network.bind\_host: ["_em4:ipv4_", "_local_"]  
network.publish\_host: "_em4:ipv4_"

Any comment will be welcome

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 17, 2017, 8:23am UTC](https://discuss.elastic.co/t/ansible-elasticsearch-and-network-bind-host-array/100987/2 "2017-10-17T08:23:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
