Yes, I am already using the fire and forget with a very large async value and poll mode with value of zero. But what I want is to show the output of a script on the remote machine. So when I run a command on my control node, it should execute a script on all the targeted hosts and anybody who has *sshed* into that node should be able to see that script being run on their respective screen (for example if a script contains * echo "hello from ansible control node"*).Now for instance a user has accessed certain remote nodes using Putty or OpenStack Dashboard, when I run the script the output of the particular script should show on the users screen in this case* hello from ansible control node *should be displayed on the screen/terminal of the targeted hosts
On Thursday, September 4, 2014 6:25:18 PM UTC-7, Michael DeHaan wrote: > > See here for some info about running "fire and forget" non-blocking tasks. > > http://docs.ansible.com/playbooks_async.html > > You may also be instead interested in > > http://docs.ansible.com/faq.html#how-do-i-keep-secret-data-in-my-playbook > > Depending on how I interpret the question about "not seeing local output", > one or both may be appropriate. > > > > > On Thu, Sep 4, 2014 at 6:38 AM, Imran Khan <[email protected] > <javascript:>> wrote: > >> >>> Maybe sth like: >>> shell: screen -d -m bash /home/dell/tester_server_2/runserver.sh >>> >>> >> But this is not doing the trick >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/1ce6131a-3783-48b7-9d3a-ae837edc1ca5%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/1ce6131a-3783-48b7-9d3a-ae837edc1ca5%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/c3b0a944-0484-4aec-913a-e79fb6e2abf0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
