-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
rhel-9.0.0
-
None
-
None
-
rhel-sst-security-compliance
-
ssg_security
-
None
-
False
-
-
Yes
-
None
-
None
-
None
-
Known Issue
-
-
Done
-
-
Unspecified
-
None
Description of problem:
On a RHEL 9 server/minimal installation without non-RHEL Ansible bits installed it seems not possible to run SCAP playbooks locally in an offline (non-RH connected) environment:
- rm -rf ~/.ansible
- dnf install -y ansible-core scap-security-guide
- cd /usr/share/scap-security-guide/ansible
- ansible-playbook -c local -i localhost, rhel9-playbook-cis_server_l1.yml
ERROR! couldn't resolve module/action 'ini_file'. This often indicates a
misspelling, missing collection, or incorrect module path.
...
Version-Release number of selected component (if applicable):
ansible-core-2.12.2-1.el9.x86_64
openscap-1.3.6-3.el9.x86_64
openscap-scanner-1.3.6-3.el9.x86_64
scap-security-guide-0.1.60-6.el9_0.noarch
- blocks
-
RHEL-1799 Can't run SCAP playbooks on RHEL 8.6 with ansible-core
- Closed
- external trackers