# Looking for a complete list of ansible-elasticsearch variables

**URL:** <https://discuss.elastic.co/t/looking-for-a-complete-list-of-ansible-elasticsearch-variables/209547>\
**Category:** Elasticsearch\
**Created:** [November 26, 2019, 4:06pm UTC](https://discuss.elastic.co/t/looking-for-a-complete-list-of-ansible-elasticsearch-variables/209547 "2019-11-26T16:06:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RLPowellJr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rlpowelljr/32/97049_2.png) [@RLPowellJr](https://discuss.elastic.co/u/RLPowellJr)\
**Post date:** [November 26, 2019, 4:06pm UTC](https://discuss.elastic.co/t/looking-for-a-complete-list-of-ansible-elasticsearch-variables/209547/1 "2019-11-26T16:06:06Z")

</div>

Greetings all!

I am working with the ansible-elasticsearch Ansible playbook from [https://github.com/elastic/ansible-elasticsearch](https://github.com/elastic/ansible-elasticsearch). I'm relatively new to Ansible and very new to this playbook. I can get the playbook to start but it quickly fails due to an undefined variable. The GitHub site referenced above lists some of the variables used in the playbook, but not all of them, and of course the undefined variable I've encountered is one of those not listed. Is there, somewhere, a complete list of the variables used in this playbook? It'd be super if the list included some idea of what the values of the variables might be for different use cases, but that might be asking too much. My use case, for example, is in a standalone network, so when (as an example of what I'm running into) es\_repo\_base is defined as "[https://artifacts.elastic.co](https://artifacts.elastic.co)" that's not going to work, and I'm looking for guidance as to what would be an appropriate substitution for that URL.

---

<div class="post-metadata">

**Author:** ![Julien\_MAILLERET](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julien_mailleret/32/45074_2.png) [@Julien\_MAILLERET](https://discuss.elastic.co/u/Julien_MAILLERET)\
**Post date:** [November 27, 2019, 8:43am UTC](https://discuss.elastic.co/t/looking-for-a-complete-list-of-ansible-elasticsearch-variables/209547/2 "2019-11-27T08:43:50Z")

</div>

Hi @RLPowellJr,

- We don't have an exhaustive and documented list of ansible-elasticsearch variables, however [defaults/main.yml](https://github.com/elastic/ansible-elasticsearch/blob/master/defaults/main.yml) should cover 90% of them while files in [vars/](https://github.com/elastic/ansible-elasticsearch/blob/master/vars/) should cover the last 10%.

- By standalone network, do you mean without Internet access?  
In this case, you should use `es_use_repository=false` to avoid configuring Elastic [https://artifacts.elastic.co](https://artifacts.elastic.co) repository and `es_custom_package_url=<path to your elasticsearch package` to install Elasticsearch package from a local directory or web server available in your local network.

Don't hesitate to paste your Ansible playbook and logs, if you have other questions.

---

<div class="post-metadata">

**Author:** ![RLPowellJr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rlpowelljr/32/97049_2.png) [@RLPowellJr](https://discuss.elastic.co/u/RLPowellJr)\
**Post date:** [December 4, 2019, 9:50pm UTC](https://discuss.elastic.co/t/looking-for-a-complete-list-of-ansible-elasticsearch-variables/209547/3 "2019-12-04T21:50:42Z")

</div>

Thanks for that info - it's helped with our progress!

Yes, our system/enclave is without Internet access. Makes it a little more "interesting" to get some functionalities running, but such is life. I'll likely be coming back here to ask more questions. Having an Ansible playbook for installing Elasticsearch is going to tremendously useful, but the sheer number of configuration options inside of ES means there's a lot of customization that can go into that playbook. Funfunfun!

---

<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:** [January 1, 2020, 9:50pm UTC](https://discuss.elastic.co/t/looking-for-a-complete-list-of-ansible-elasticsearch-variables/209547/4 "2020-01-01T21:50:42Z")

</div>

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