geerlingguy / ansible-role-varnish

Ansible Role - Varnish HTTP accelerator
https://galaxy.ansible.com/geerlingguy/varnish/
MIT License
80 stars 88 forks source link

Rocky Linux CI currently failing with 'All matches were filtered out by modular filtering' #113

Open geerlingguy opened 1 year ago

geerlingguy commented 1 year ago

CI runs are currently failing with the following error on Rocky Linux 8:

TASK [geerlingguy.varnish : Ensure Varnish is installed.] **********************
fatal: [instance]: FAILED! => {"changed": false, "failures": ["varnish All matches were filtered out by modular filtering for argument: varnish"], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}

See failed build: https://github.com/geerlingguy/ansible-role-varnish/actions/runs/3926726900/jobs/6712716016#step:5:161

max312 commented 1 year ago

I am facing the same issue while trying to install MariaDB from official repositories. Is there any new info on this?

max312 commented 1 year ago

Okay, i found a fix (that was fast I know :D)

I needed to set "module_hotfixes=1" inside the repo file the option is available in the ansible.builtin.yum_repository module

Maybe this fixes this bug too?

geerlingguy commented 7 months ago

That alone didn't seem to fix the issue, unfortunately. Still tinkering...

m0nt3cr1st0 commented 4 months ago

Hi everyone!

In case it helps, I was experiencing the same issue in my environment and the error in my case was that I was able to successfully add the repo for Varnish5.2 but as the version is deprecated, no packages were available in that repo.

I fixed the issue by using the Varnish 6.0 LTS release instead

PS: Thanks for your huge help to the community @geerlingguy you are a rockstar! :)