-
Notifications
You must be signed in to change notification settings - Fork 27
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
ansible_pkg_mgr
is unknown on Travis CI instance after installing homebrew
#42
Comments
I'll see what I can do to reproduce it. |
In the meantime... Since you're running on MacOS and this appears to be a bug that relates to package installation (which was only really tested on Linux distros), I think you can bypass the error by just skipping the |
Yes, your workaround has worked. However, I'm still not sure that this is a bug of your role. My pipeline on Travis is as follows
I ran some tests. Seems like the homebrew role doesn't set up the |
It looks MacOS support needs some rework. AFAIK, there should be no need to install homebrew packages, so this task can probably just be skipped if `ansible_os_family == "Darwin". We can tackle this next. Incidentally, I think if you configure your playbook to run the homebrew role and the sdkman role in separate plays, then Stay tuned for updates. |
As a workaround, I set up |
Hello there!
Thank you for your work!
This is a duplicate to an issue described here
In short,
ansible_pkg_mgr
is unknown after applying this role on Travis CI instance.The text was updated successfully, but these errors were encountered: