Re: [ansible-project] How to run multiple playbooks concurrently in parallel

2024-06-10 Thread wpgpo...@gmail.com
Thank you so much again Todd. It works and confirmed. On Friday, June 7, 2024 at 5:12:41 PM UTC-5 Todd Lewis wrote: > Try this: > server_job.sh > > ansible-playbook main_job.yml -e "server=job1" --limit runtime-host-group & > ansible-playbook main_job.yml -e "server=job2" --limit runtime-host-gro

Re: [ansible-project] How to run multiple playbooks concurrently in parallel

2024-06-07 Thread Todd Lewis
Try this: server_job.sh ansible-playbook main_job.yml -e "server=job1" --limit runtime-host-group & ansible-playbook main_job.yml -e "server=job2" --limit runtime-host-group & ansible-playbook main_job.yml -e "server=job3" --limit runtime-host-group & ansible-playbook main_job.yml -e

[ansible-project] How to run multiple playbooks concurrently in parallel

2024-06-07 Thread wpgpo...@gmail.com
Hello Group, Is there a way that I can run a playbook concurrently? Currently, if I'm running the script with multiple playbook (2x or 3x or so), it will run and finish the first playbook before proceeding on the next playbook in the line. The idea is that I want to run a script that has multi