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

On Tue, 23 Jul 2019 at 10:32 AM, Dick Visser <[email protected]> wrote:

> Add ‘localhost’ to your inventory?
>
> On Tue, 23 Jul 2019 at 06:56, Rahul Kumar <[email protected]> wrote:
>
>> 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.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/CAGH8rEzZDBWt3j0z_yRRS%3DdN6PyLHU8wmzs%3DWMsOcVR0UsazkQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CAGH8rEzZDBWt3j0z_yRRS%3DdN6PyLHU8wmzs%3DWMsOcVR0UsazkQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>
>
>> --
> Sent from a mobile device - please excuse the brevity, spelling and
> punctuation.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAL8fbwOea_hXJWBo4V0o4%3DmebN7T15fm2K32GG%3DJ4%3D4rKBc05A%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAL8fbwOea_hXJWBo4V0o4%3DmebN7T15fm2K32GG%3DJ4%3D4rKBc05A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAGH8rEyLD7JX9WdBLLGH%3D8L%2Bu5MBS%2BC9-7Obyzr6S2wU5Euo-g%40mail.gmail.com.

Reply via email to