geerlingguy / ansible-role-varnish

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

Fix role installing Varnish 6.0.x from AppStream on CentOS 8 #97

Closed geerlingguy closed 4 years ago

geerlingguy commented 4 years ago

When installing on CentOS 8, I get:

No package pygpgme available.
geerlingguy commented 4 years ago

Annoyingly...

 varnish              x86_64              6.0.2-1.module_el8.0.0+19+b2cdb875              @AppStream              9.0 M

So it's not using the packagecloud repo, but the AppStream instead.

geerlingguy commented 4 years ago

Opened upstream issue: https://github.com/varnishcache/pkg-varnish-cache/issues/142

geerlingguy commented 4 years ago
  if [ "${dist}" = "8" ]; then
    _skip_pygpgme=1
  else
    _skip_pygpgme=0
  fi

That's in the install script.

geerlingguy commented 4 years ago

Looks like I need to disable the varnish module AppStream first... testing.