Re: [ansible-project] How to run Ansible tasks in parallel

2020-11-25 Thread Prathap Dasari
Hi , There is no dependency between below two yaml file and also the patching.yaml and second yaml files will be taking at 20 mins to complete task ,hence I am planning to run both yaml file at the same, to reduce the time if it´s possible. Regards, Prathap On Wednesday, November 25, 2020

Re: [ansible-project] How to run Ansible tasks in parallel

2020-11-25 Thread Vladimir Botka
On Wed, 25 Nov 2020 20:41:32 +0100 Prathap Dasari wrote: > I have below two yml files. > Now How can I run them parallel at the same time ? There is plenty of options. See for example "how to run multiple shell scripts in parallel" https://serverfault.com/questions/374131/how-to-run-multiple-she

Re: [ansible-project] How to run Ansible tasks in parallel

2020-11-25 Thread Stefan Hornburg (Racke)
On 11/25/20 8:41 PM, Prathap Dasari wrote: > Ok . But I have below two yml files.  > There is no dependence between both yml files . Now How can I run them > parallel at the same time ? Any advice please ? > Why do you want them to run in parallel? What are these roles are doing? Regards

Re: [ansible-project] How to run Ansible tasks in parallel

2020-11-25 Thread Prathap Dasari
Ok . But I have below two yml files. There is no dependence between both yml files . Now How can I run them parallel at the same time ? Any advice please ? i.e : *patching.yml* --- - hosts: soa_admin tasks: - include_role: name: patching *createdomainwldt.yml* --- - hosts: so

Re: [ansible-project] How to run Ansible tasks in parallel

2020-11-25 Thread Mauricio Tavares
On Wed, Nov 25, 2020 at 1:56 PM Vladimir Botka wrote: > > On Wed, 25 Nov 2020 10:06:41 -0800 (PST) > Prathap Dasari wrote: > > > I would like to run playbooks parallel . is it possible ? > > No. It's not possible. The utility "ansible-playbook" is not able to > run playbooks in parallel. Only ser

Re: [ansible-project] How to run Ansible tasks in parallel

2020-11-25 Thread Prathap Dasari
Ok .. Thank you for the clarification 👌 On Wed, Nov 25, 2020, 7:56 PM Vladimir Botka wrote: > On Wed, 25 Nov 2020 10:06:41 -0800 (PST) > Prathap Dasari wrote: > > > I would like to run playbooks parallel . is it possible ? > > No. It's not possible. The utility "ansible-playbook" is not able to

Re: [ansible-project] How to run Ansible tasks in parallel

2020-11-25 Thread Vladimir Botka
On Wed, 25 Nov 2020 10:06:41 -0800 (PST) Prathap Dasari wrote: > I would like to run playbooks parallel . is it possible ? No. It's not possible. The utility "ansible-playbook" is not able to run playbooks in parallel. Only serial execution of plays or imported playbooks is available. See "impor

Re: [ansible-project] How to run Ansible tasks in parallel

2020-11-25 Thread Prathap Dasari
Ok . That was not my question .. apologies for that .. I would like to run playbooks parallel . is it possible ? Regards, Prathap On Wednesday, November 25, 2020 at 7:01:36 PM UTC+1 kundans...@gmail.com wrote: > By default ansible run tasks parallel .but if you feel latency from one > host yo

Re: [ansible-project] How to run Ansible tasks in parallel

2020-11-25 Thread Kundan Singh
By default ansible run tasks parallel .but if you feel latency from one host you can use. Strategy: free In your play and execute it parallel Hope that clears your doubts Regards Kundan singh On Wed, Nov 25, 2020, 11:27 PM Prathap Dasari wrote: > Hi Team , > > Is it possible to run Ansible

[ansible-project] How to run Ansible tasks in parallel

2020-11-25 Thread Prathap Dasari
Hi Team , Is it possible to run Ansible tasks in parallel ? If yes , Kindly let me know How? Regards, Prathap -- 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