I'm using Ansible 2.1. Let's say my hosts are already grouped in inventory. Then I run a playbook like this:
- hosts: foo
roles:
- bar
- hosts: baz
roles:
- eek
...more...
Ansible seems to apply the roles one by one, no matter how many forks I have set. Is there a better way to structure my playbooks to gain more execution parallelism without spamming the console with useless task-skipped messages?
In other words, so role bar
applies to all the hosts in foo
at the same time as eek
applies to all the baz
hosts. It seems to kind of work if I apply roles conditional on group membership, however all the skipping makes the output really hard to read.