# Need Help

**URL:** <https://forum.ansible.com/t/need-help/30841>\
**Category:** Ansible Project\
**Created:** [July 23, 2019, 4:56am UTC](https://forum.ansible.com/t/need-help/30841 "2019-07-23T04:56:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahul\_Kumar1](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Post date:** [July 23, 2019, 4:56am UTC](https://forum.ansible.com/t/need-help/30841/1 "2019-07-23T04:56:01Z")

</div>

Hi,  
I am trying to take backup of some REST API dump on target nodes .  
Assume that 3 nodes in cluster and 1 is controller node from where we invoke playbook,  
I need that backup on controller node as well. I can use modules like copy, fetch etc. but how i will know the  
hostname or IP dynamically of controller node.

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [July 23, 2019, 5:02am UTC](https://forum.ansible.com/t/need-help/30841/2 "2019-07-23T05:02:22Z")

</div>

Add ‘localhost’ to your inventory?

---

<div class="post-metadata">

**Author:** ![Rahul\_Kumar1](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Post date:** [July 23, 2019, 5:07am UTC](https://forum.ansible.com/t/need-help/30841/3 "2019-07-23T05:07:47Z")

</div>

It is there , do I need to use gather facts. Or any other better way ?
