Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple instances on same host #247

Open
Migsi opened this issue Aug 5, 2020 · 1 comment · May be fixed by #261
Open

Multiple instances on same host #247

Migsi opened this issue Aug 5, 2020 · 1 comment · May be fixed by #261

Comments

@Migsi
Copy link

Migsi commented Aug 5, 2020

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
Copy link
Author

Migsi commented Oct 21, 2020

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).

@smutel smutel linked a pull request Jul 15, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant