# How conect two diferent ansible master node?

**URL:** <https://forum.ansible.com/t/how-conect-two-diferent-ansible-master-node/21835>\
**Category:** Ansible Project\
**Created:** [June 22, 2016, 5:01pm UTC](https://forum.ansible.com/t/how-conect-two-diferent-ansible-master-node/21835 "2016-06-22T17:01:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hugo\_Enrique\_Hernand](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@Hugo\_Enrique\_Hernand](https://forum.ansible.com/u/Hugo_Enrique_Hernand)\
**Post date:** [June 22, 2016, 5:01pm UTC](https://forum.ansible.com/t/how-conect-two-diferent-ansible-master-node/21835/1 "2016-06-22T17:01:59Z")

</div>

Hi All

I very newbie with ansible.

I have a dummy question :

In my work we have two diferent network, but in the middle i have a FW, so i have 2 ansible server in each network, so the A ansible server only saw 50 host and the B ansible server saw other 100 host, so how I can execute an playbook in A ansible server and communicate through B ansible server to that 100 host?

I dont want to do modify my FW rules.

i dont know if is possible with a playbook or other method?

Any idea?

Thanks

---

<div class="post-metadata">

**Author:** ![Benjamin\_Redling](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@Benjamin\_Redling](https://forum.ansible.com/u/Benjamin_Redling)\
**Post date:** [June 23, 2016, 8:11am UTC](https://forum.ansible.com/t/how-conect-two-diferent-ansible-master-node/21835/2 "2016-06-23T08:11:53Z")

</div>

Hi,

---

<div class="post-metadata">

**Author:** ![Hugo\_Enrique\_Hernand](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@Hugo\_Enrique\_Hernand](https://forum.ansible.com/u/Hugo_Enrique_Hernand)\
**Post date:** [June 23, 2016, 2:22pm UTC](https://forum.ansible.com/t/how-conect-two-diferent-ansible-master-node/21835/3 "2016-06-23T14:22:52Z")

</div>

Hi Benajmin

Thanks for you answer.

Yes, both server allowed SSH between them.

Regards
