theforeman / ansible-foreman_scap_client

GNU General Public License v3.0
4 stars 14 forks source link

Ubuntu 22.04 ruby2.7 #54

Closed PiRomant closed 3 months ago

PiRomant commented 3 months ago

Playbook installs a ruby2.7-dependent foreman_scap_client on the Ubuntu 22.04.

# foreman_scap_client 
/usr/bin/env: ‘ruby2.7’: No such file or directory
PiRomant commented 3 months ago

Manual install from gem

gem install foreman_scap_client -v 0.5.0

And modifying job template, helps CloneJob ChangeRemoteExec

adamruzicka commented 3 months ago

Playbook installs a ruby2.7-dependent foreman_scap_client on the Ubuntu 22.04.

That's a somewhat misleading notion. The playbook installs a package. The package comes from some repositories, but the role cannot really do anything about how dependencies are set up on the package that gets pulled. Please do raise this issue with whoever maintains the repository from which the package comes so they can properly address it.

PiRomant commented 3 months ago

Installation from gem is work. At least 0.5.0 version. So why is not an option to use in playbook?