# Ansible Playbook - cluster.remote.connect Understanding and cross-cluster replication

**URL:** <https://discuss.elastic.co/t/ansible-playbook-cluster-remote-connect-understanding-and-cross-cluster-replication/281216>\
**Category:** Elasticsearch\
**Tags:** ccr-cross-cluster-replication\
**Created:** [August 12, 2021, 2:23pm UTC](https://discuss.elastic.co/t/ansible-playbook-cluster-remote-connect-understanding-and-cross-cluster-replication/281216 "2021-08-12T14:23:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jthart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jthart/32/90189_2.png) [@jthart](https://discuss.elastic.co/u/jthart)\
**Post date:** [August 12, 2021, 2:23pm UTC](https://discuss.elastic.co/t/ansible-playbook-cluster-remote-connect-understanding-and-cross-cluster-replication/281216/1 "2021-08-12T14:23:10Z")

</div>

I have an elasticsearch deployment consisting of one cluster, and I want to create a second cluster for a primary/secondary setup with cross-cluster replication. Is there something I can be pointed to to understand all of the relevant settings I need to be concerned with in defining the correct settings via ansible? Or a template that shows all of the possible settings I can put in the playbook where I can attempt to trace through what each setting does?

The only setting I've seen so far in a playbook example relates to `cluster.remote.connect` but I doubt it's as simple as setting that to true since I would expect there to be a way to at least identify the remote cluster name as well if nothing else.

Any general guidance here that can point me in the right direction would bee much appreciated.

---

<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:** [September 9, 2021, 2:23pm UTC](https://discuss.elastic.co/t/ansible-playbook-cluster-remote-connect-understanding-and-cross-cluster-replication/281216/2 "2021-09-09T14:23:15Z")

</div>

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