I have Ansible roles A and B. When A is applied to a server, B is also applied. Currently I'm specifying this manually, but this is error prone, so when I add a server I could add role A and forget role B. Is there a way to do this automatically?
I know that a solution would be dependencies. But if I say that A depends on B, then B will be applied first. This is not what I want, B should be applied last.