Hello,
How to best model the following scenario:
I have a set of hosts in one playbook.
[qa-machines]
HostA
HostB
HostC
I have a subset of these hosts that should receive additional roles.
[jenkins-slaves]
HostC
I have a Vagrantfile that I would like to use to set up one host of each category.
Including first playbook from the second one does not work, because I cannot parameterize the hosts when including a playbook.
What I would like to achieve is, when the "setup-qa-machine" playbook is changed, it does not require to change in the "setup-jenkins-slave" playbook, which would be the case if I repeated the common roles.
it feels a bit like I was not seeing the obvious right now, so any help is appreciated. Thanks!