diff --git a/Sanity/ansible-machine-hardening/runtest.sh b/Sanity/ansible-machine-hardening/runtest.sh index fc83fe5..3059909 100755 --- a/Sanity/ansible-machine-hardening/runtest.sh +++ b/Sanity/ansible-machine-hardening/runtest.sh @@ -53,6 +53,8 @@ rlJournalStart scapCommonInstallAnsible || rlDie "Failed to install required Ansible packages" rlAssertRpm "$PACKAGE" rlAssertRpm "openscap-scanner" + # On CentOS images, NetworkManager is not installed by default + rlRun "yum install -y NetworkManager" PLAYBOOK="/usr/share/scap-security-guide/ansible/${scapCommonDISTRO}-playbook-${PROFILE}.yml"