Hi, Can anyone help with this? How to make setup gets run again in the middle after defining fact_path.
My managed node is a windows server. Regards, Anitha Sreejith On Thu, 12 Nov 2020, 20:48 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-23t43QuJzNFDjP3rCwibmsL7Q61SCGk454VzzcK9ktPYqQ%40mail.gmail.com.
