We use async/polling for our "long" running tasks (1-4 hrs) which are 
mainly postgres or oracle database restores.  Not sure about tasks that 
take days, you may want to look into the "fire and forget" mode by setting 
poll=0.  Just make sure to set async high enough to allow tasks to run that 
long.  Ansible seems to do a really good job of ensuring those long running 
tasks keep running.

- David

On Monday, April 4, 2016 at 9:05:21 AM UTC-4, Florian Lohoff wrote:
>
>
> Hi, 
> I am going my first Ansible steps (Doing cfengine for 10+ Years). 
>
> So far i am having no huge issues. I am playing with setting up 
> postgres databases etc. Now i was thinking of initializing them 
> with content which would take hours to days to import data. 
>
> How do others implement tasks like this? I have read about the async 
> polling but was rather thinking of deploying an import script 
> and just starting that. 
>
> Flo 
> -- 
> Florian Lohoff                                                 [email protected] 
> <javascript:> 
>       We need to self-defend - GnuPG/PGP enable your email today! 
>

-- 
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/4317341f-19f7-4423-b022-7c601d9d1e8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to