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

delegation does not work #266

Open
tpo opened this issue Jan 2, 2022 · 1 comment
Open

delegation does not work #266

tpo opened this issue Jan 2, 2022 · 1 comment
Labels
bug Something isn't working documentation UX Improve user experience

Comments

@tpo
Copy link
Contributor

tpo commented Jan 2, 2022

roles that use delegation will fail with ansible-bender out of the box probably due to ansible-bender not using the default inventory. This is something the user should be aware of.

I'm not sure where and how this should be mentioned in the docu or if there are workarounds for that problem and how they'd look like (it can certainly be hacked somehow...).

I'd propose a section in the README.md after the "Features" section:

### Gotchas

Since ansible-bender is creating its own inventory at runtime, roles that use `delegate_to:` will probably fail to work as intended.

I'd suggest to add the same section to the document front page right after the "Features" section.

What do you think of this?

@TomasTomecek
Copy link
Collaborator

hi Tome, thank you for your time opening this issue

I recall there was also some other issue related to roles that make them not work correctly - this is indeed something that should be fixed or even improved; starting with mentioning this in the readme sounds like a great start. If you have time, please open such PR and I'd be glad to merge it.

@TomasTomecek TomasTomecek added bug Something isn't working documentation UX Improve user experience labels Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation UX Improve user experience
Projects
None yet
Development

No branches or pull requests

2 participants