Hi,
I want to execute tasks on multiple hosts in parallel which fall under
different group. I have a host file which looks like below,
[groupa]
10.0.1.29
[groupb]
10.0.1.45
[groupc]
10.0.1.56
My playbook looks like below,
---
- hosts: groupa
roles:
- role : role1
- hosts: groupb
roles:
- role: role2
- hosts: groupc
roles:
- role: role3
I feel this structure will execute sequentially, but I want to run
different tasks on groupa, groupb and groupc but at the same time
| ---- groupa ---- task1
playbook -- | ---- groupb ---- task2
| ---- groupc ---- task3
Is this kind of parallel execution possible through ansible.
Thank you.
--
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/85277135-1d1c-4e03-9fd2-f99aad116e46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.