Answer the question
In order to leave comments, you need to log in
How to differentiate execution of ansible roles for different hosts?
Good afternoon! There is one playbook that runs two roles.
The first role - should be executed only on host 1 and host 2 and not touch host 3.
The second role - only on host 3 and not touch 1 and 2.
Can this be implemented within one playbook without splitting it?
PS. The playbook is launched from jenkins.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question