Multiple instances on same host
Migsi opened this issue · 1 comments
Migsi commented
Hello,
maybe I just didn't figure this out yet, but if, and if yes, how is it possible to setup multiple instances with this role?
In case this is not possible, would you consider accepting a PR adding the feature in? (will take a little while ofc)
Migsi commented
Update: It is indeed already possible to run this role more than once per playbook. Allthough there seem to be issues regarding loops. When the role is called from a loop, variable propagation seems to fail. The current solution to this is calling the role as often as required in secuence. It might also work to wrap the role call into a block statement to which the loop is applied, but this was not tested by me (yet).