I am working on a role to install Apache Guacamole.  One of the 
dependencies that has to be  installed is libssh2-devel, but that's not 
available on RHEL 8.  Google is telling me that if I install the virt-devel 
OS module via 'dnf module enable virt-devel',that  will allow libssh2-devel 
to be installed.

However, in my playbook in the role, no matter what I try, I cannot get 
this module to be enabled.  If I do this:

- name: Enable virt-devel module
  ansible.builtin.dnf:
    name: '@virt-devel'
    state: present

I get: "virt-devel Problems in request: broken groups or modules: 
virt-devel".

If I change the code to use the command module:

- name: Enable virt-devel module
  ansible.builtin.command: /bin/dnf enable module virt-devel

nothing happens in my playbook.  It doesn't fail or succeed on that play, 
it simply just hangs there.  So I went to the target host and ran that 
command manually, then enabled debug in my playbook.  When I run it again, 
it gets past that play with:

Updating Subscription Management repositories.
Last metadata expiration check: 0:56:53 ago on Thu 11 Jan 2024 08:41:00 AM 
EST.
Dependencies resolved.
Nothing to do.
Complete!

Any ideas on why this could be happening?

Thanks,
Harry

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3eab5eec-d57f-4752-a9e0-3ccb55d591e4n%40googlegroups.com.

Reply via email to