ansible facts can't get the information? On Wed, May 15, 2019 at 2:23 AM Kaustav Majumder <[email protected]> wrote:
> Hi all, i am trying to top , sar , iostats in the backgound via ansible on > remote hosts and collect stats redirecting outpu to a log file while I run > other tasks from my local machine. I have tried - name: collect hypervisor > stats hosts: all tasks: - name: execute sar iostat scripts shell: top -bd > $MON_INTERVAL > $GLUSTER_PROFILER_RESULTS/top_proc.$HOSTNAME.txt & disown > but it stops by itself. I want to kill the tasks after sometime manually. > Is there any way > > -- > 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 post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/dc2fc2b7-1c81-4f95-812e-eaba57665445%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/dc2fc2b7-1c81-4f95-812e-eaba57665445%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jonathan Cha'gara Lozada De La Matta He / Him / His Automation Practice Senior Automation Consultant & Automation CoP Manager Red Hat <https://www.redhat.com> @redhatjobs <https://twitter.com/redhatjobs> redhatjobs <https://www.facebook.com/redhatjobs> @redhatjobs <https://instagram.com/redhatjobs> <https://www.redhat.com> -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BJb5H4WvU_HKWHFdNHiJpEHOgUFXVwiqOQB-eOhyE64_g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
