Re: [ansible-project] Re: stop task on all hosts when task is finished in any of them

2017-11-14 Thread Ivo Jimenez
Sorry, I meant ‘run_once’ (it’s incompatible because every host is going on independently). I think I’ll go with having multiple playbooks. Thanks! On Tue, Nov 14, 2017 at 12:33 PM Kai Stian Olstad < ansible-project+l...@olstad.com> wrote: > On Tuesday, 14 November 2017 19.14.08 CET Iv

Re: [ansible-project] Re: stop task on all hosts when task is finished in any of them

2017-11-14 Thread Ivo Jimenez
Thanks for the suggestion. The problem is that I have other tasks (like local_action) that are not compatible with 'strategy: free' On Tuesday, November 14, 2017 at 7:41:34 AM UTC-7, Kai Stian Olstad wrote: > > On Tuesday, 14 November 2017 01.06.51 CET Ivo Jimenez wrote: > > Forgo

[ansible-project] Re: stop task on all hosts when task is finished in any of them

2017-11-13 Thread Ivo Jimenez
Forgot to mention that the reason what the above doesn't work is because the `rescue` tasks are executed only after _all_ the hosts have finished executing the task On Monday, November 13, 2017 at 3:49:01 PM UTC-7, Ivo Jimenez wrote: > > I've been trying to find a way of accompl