Centos7 Openscap plugin

First update for myself

I had reinstalled clean and default (again) the OS.
Only change: till now: I have added
yum install centos-release-ansible-29.noarch

The default foreman install (without openscap ) goes well

foreman-installer --scenario katello
2022-04-11 22:41:02 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-04-11 22:41:06 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-04-11 22:41:06 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2022-04-11 22:45:13 [NOTICE] [configure] Starting system configuration.
2022-04-11 22:47:43 [NOTICE] [configure] 250 configuration steps out of 1691 steps complete.
2022-04-11 22:48:41 [NOTICE] [configure] 500 configuration steps out of 1691 steps complete.
2022-04-11 22:48:43 [NOTICE] [configure] 750 configuration steps out of 1695 steps complete.
2022-04-11 22:50:24 [NOTICE] [configure] 1000 configuration steps out of 1702 steps complete.
2022-04-11 22:50:30 [NOTICE] [configure] 1250 configuration steps out of 1717 steps complete.
2022-04-11 22:54:31 [NOTICE] [configure] 1500 configuration steps out of 1717 steps complete.
2022-04-11 22:57:45 [NOTICE] [configure] System configuration has finished.

now try to add ansible plugin with:
foreman-installer --enable-foreman-plugin-ansible --enable-foreman-proxy-plugin-ansible

After some some small issues ( why installer does not creates the neccessary keypair’s? Or at least why not documented? - for anybody who gets this error message:
2022-04-11 23:11:27 [ERROR ] [configure] Error making PUT request to https://test1.kc.local/api/v2/smart_proxies/1/refresh: Response: 500 Internal Server Error: Check /var/log/foreman/production.log on test1.kc.local for detailed information
2022-04-11 23:11:27 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[test1.kc.local]/features: change from [“Logs”, “Pulpcore”] to [“Ansible”, “Dynflow”, “Logs”, “Pulpcore”] failed: Error making PUT request to https://test1.kc.local/api/v2/smart_proxies/1/refresh: Response: 500 Internal Server Error: Check /var/log/foreman/production.log on test1.kc.local for detailed information
2022-04-11 23:11:27 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[test1.kc.local]: Failed to call refresh: Error making PUT request to https://test1.kc.local/api/v2/smart_proxies/1/refresh: Response: 500 Internal Server Error: Check /var/log/foreman/production.log on test1.kc.local for detailed information
2022-04-11 23:11:27 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[test1.kc.local]: Error making PUT request to https://test1.kc.local/api/v2/smart_proxies/1/refresh: Response: 500 Internal Server Error: Check /var/log/foreman/production.log on test1.kc.local for detailed information
2022-04-11 23:11:27 [NOTICE] [configure] 1750 configuration steps out of 1759 steps complete.
2022-04-11 23:11:30 [NOTICE] [configure] System configuration has finished.

don’t panic, just create the keys :
as written in logs.
ssh-keygen -t rsa -b 4096 -f /usr/share/foreman-proxy/.ssh/id_rsa_foreman_proxy -N ‘’`

and rerun the command:
foreman-installer --enable-foreman-plugin-ansible --enable-foreman-proxy-plugin-ansible

My next move:
foreman-installer --enable-foreman-plugin-openscap

2022-04-11 23:22:45 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-04-11 23:22:50 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-04-11 23:22:50 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2022-04-11 23:23:00 [NOTICE] [configure] Starting system configuration.
2022-04-11 23:23:08 [NOTICE] [configure] 250 configuration steps out of 1752 steps complete.
2022-04-11 23:23:11 [NOTICE] [configure] 500 configuration steps out of 1752 steps complete.
2022-04-11 23:23:11 [NOTICE] [configure] 750 configuration steps out of 1756 steps complete.
2022-04-11 23:23:37 [NOTICE] [configure] 1000 configuration steps out of 1762 steps complete.
2022-04-11 23:23:38 [NOTICE] [configure] 1250 configuration steps out of 1764 steps complete.
2022-04-11 23:26:28 [NOTICE] [configure] 1500 configuration steps out of 1764 steps complete.
2022-04-11 23:28:45 [NOTICE] [configure] 1750 configuration steps out of 1764 steps complete.
2022-04-11 23:28:50 [NOTICE] [configure] System configuration has finished.
Executing: foreman-rake upgrade:run

Upgrade Step 1/2: katello:correct_repositories. This may take a long while.

Upgrade Step 2/2: katello:clean_backend_objects. This may take a long while.
0 orphaned consumer id(s) found in candlepin.
Candlepin orphaned consumers:
Success!

Cool,
so step forward:
foreman-installer --enable-foreman-proxy-plugin-openscap
2022-04-11 23:29:22 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-04-11 23:29:27 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-04-11 23:29:27 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2022-04-11 23:29:37 [NOTICE] [configure] Starting system configuration.
2022-04-11 23:29:45 [NOTICE] [configure] 250 configuration steps out of 1767 steps complete.
2022-04-11 23:29:48 [NOTICE] [configure] 500 configuration steps out of 1767 steps complete.
2022-04-11 23:29:48 [NOTICE] [configure] 750 configuration steps out of 1770 steps complete.
2022-04-11 23:29:51 [NOTICE] [configure] 1000 configuration steps out of 1777 steps complete.
2022-04-11 23:29:51 [NOTICE] [configure] 1250 configuration steps out of 1779 steps complete.
2022-04-11 23:30:16 [NOTICE] [configure] 1500 configuration steps out of 1779 steps complete.
2022-04-11 23:30:28 [NOTICE] [configure] 1750 configuration steps out of 1779 steps complete.
2022-04-11 23:30:31 [NOTICE] [configure] System configuration has finished.
Executing: foreman-rake upgrade:run

Upgrade Step 1/2: katello:correct_repositories. This may take a long while.

Upgrade Step 2/2: katello:clean_backend_objects. This may take a long while.
0 orphaned consumer id(s) found in candlepin.
Candlepin orphaned consumers:
Success!

Long story short, or summary:
There is a dependency issue, for successful openscap plugin do I need first ansible plugin.

I have to test it, but it seems promising.
gyokiss