-
Notifications
You must be signed in to change notification settings - Fork 19
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
Error with cockpit-* globbing #51
Comments
Attaching error log with -vvv output If I comment out var |
This has bug reports such as [1], ensure that this generally works everywhere. [1] linux-system-roles#51
Hey @tabowling , thanks for the report! I cannot reproduce this on at least my RHEL 8.6 and Fedora 35 cloud images. I filed PR #53 to add a test for the "full" scenario, which is prudent anyway. Your debug log looks ok to me at first sight. The error message sounds like the exclude list
would be all that Interestingly, |
The principal difference is that on my local Ubuntu 16.04 runs, and also on github's, the glob actually gets expanded:
but on Debian/Ubuntu it uses (log confirms that) vars/Debian.yml, which hardcodes that list. On my local Fedora 35 and RHEL 8.6 runs, it uses vars/Fedora.yml and vars/RedHat-8.yml respectively, and that also looks okay:
But in your log it doesn't:
So for some reason, yum/dnf can't figure out the globbing. @tabowling , on the machine where you tried to run this, what's the output of `sudo dnf install 'cockpit-*'? On mine (small cloud VM) it looks like this:
|
This has bug reports such as [1], ensure that this generally works everywhere. [1] linux-system-roles#51
according to the Ansible team - you should not use |
Idea: For DNF (RHEL 8/9/Fedora) we compute the list ourselves with
I am not sure if that works with yum on RHEL/CentOS 7, but there we can honestly just hardcode the list like we do on other OSes -- it's not going to change any more. |
works for me - do we need a BZ for this? |
fixed by #161 |
When using the latest version of linux-system-roles.cockpit from galaxy, I'm receiving the following error:
playbook is fairly simple, specifying the 'full' option to install all cockpit packages
The text was updated successfully, but these errors were encountered: