theforeman / ansible-foreman_scap_client

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

Installer doesn't find rubygem-foreman_scap_client #8

Closed apollo13 closed 4 years ago

apollo13 commented 4 years ago

Ansible currently fails to install rubygem-foreman_scap_client because it does not enable the https://yum.theforeman.org/client/ repository but only https://yum.theforeman.org/plugins/. Is there an assumption that the client repo is already enabled? (And if yes by what)

xprazak2 commented 4 years ago

Thank you for reporting this, 0.0.2 was pointing to the plugins repo, which was changed in 0.0.3.

You also need to override the foreman_scap_client_repo_state which is set to absent by default.

Does it resolve your issue?

apollo13 commented 4 years ago

Ah thank you, that makes it clear and fixes it. Btw does running OpenSCAP from the host view directly requiere puppet? Is there any way to get that working with ansible?

apollo13 commented 4 years ago

I just found https://github.com/theforeman/foreman_openscap/pull/407 -- thank you for your help!