Hi Anitha ,
Its just a hung up or you getting any error ? If you getting error can you
attach the same .. remove facts path in your play and just add it in
ansible.cfg

On Thu, 12 Nov, 2020, 9:14 pm Anitha sreejith, <[email protected]>
wrote:

> Hi Jerin,
>
> I tried and when we do that change in /etc/ansible/ansible.cfg the first
> ever default gather facts gets affected and end up with error.
>
> I have also tried with ad-hoc command
>
> #ansible host group -m setup -a "fact_path=c://Development" it gets hunged.
>
> Any help would be appreciated.
>
> Thanks
>
> On Thu, 12 Nov 2020, 20:51 Jerin J, <[email protected]> wrote:
>
>> May be its looking for Ansible facts path .. can you configure fact_path
>> = C:\\temp in ansible.cfg ?
>>
>> On Thu, 12 Nov, 2020, 8:48 pm Anitha sreejith, <
>> [email protected]> wrote:
>>
>>> Hi Anthony,
>>>
>>> I am trying to create custom fact like below. But setup module during
>>> playbook execution gets hung.
>>>
>>> What I am missing here. Please help.
>>>
>>> I have attached Screenshort below.
>>>
>>> The task "Gather custom facts" gets hunged and not moving forward.
>>>
>>> Thanks,
>>>
>>> On Thu, 12 Nov 2020, 02:01 Antony Stone, <
>>> [email protected]> wrote:
>>>
>>>> On Wednesday 11 November 2020 at 21:27:21, Anitha sreejith wrote:
>>>>
>>>> > Hello all,
>>>> >
>>>> > I tried to create basic playbook to collect all windows facts. I
>>>> could ping
>>>> > the server well but "ansible_facts" is not giving me any info. I end
>>>> up
>>>> > with error.
>>>>
>>>> What is the error?
>>>>
>>>> > Whereas when I run ad hoc command using setup module I could see
>>>> beautiful
>>>> > windows facts in Jason format.
>>>>
>>>> What is the command?
>>>>
>>>> > What is the issue when the same kind of output is expected from
>>>> playbook.
>>>>
>>>> Can you show us the playbook?
>>>>
>>>> > Can anyone help please?
>>>>
>>>> We need more information about exactly what you are doing and exactly
>>>> what the
>>>> result is.
>>>>
>>>>
>>>> Antony.
>>>
>>> --
>>> 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/CADU-23t1bEHLsgtYzN554e0_mwOOgtmM2wmV5HOX_-dxRrr68w%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/ansible-project/CADU-23t1bEHLsgtYzN554e0_mwOOgtmM2wmV5HOX_-dxRrr68w%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/CAKH5aE-0kdY_epWhypWz2_WPHdHb7hh%2BkVPZry59D_xnz_02oQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CAKH5aE-0kdY_epWhypWz2_WPHdHb7hh%2BkVPZry59D_xnz_02oQ%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/CADU-23vUgaLguUQL79nY5%2B6DwZq_m5xLYfohkHPfzBcMLZ0OGA%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CADU-23vUgaLguUQL79nY5%2B6DwZq_m5xLYfohkHPfzBcMLZ0OGA%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/CAKH5aE9Ly6%2BRwGOGDxOj28hvL-7i_gHRjT72%3DmOcHS3Vf3DGrw%40mail.gmail.com.

Reply via email to