9b2bddbab8
Necessity of proper logging is described in depth by NIST SP 800-171 as well as by the Red Hat Openstack Security and Hardening Guide. New validation group `security` consists only of check-rsyslog and check-selinux-mode validations at this time. Further security related validations should be included in this group, in addition to other groups as needed. Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I53f31f6fd30a15698328cada54c96d7d902e0155
12 lines
297 B
YAML
12 lines
297 B
YAML
---
|
|
- name: Get installed package from yum
|
|
package_facts:
|
|
manager: "auto"
|
|
|
|
- name: Fails if we don't find the rsyslog installed
|
|
assert:
|
|
that:
|
|
- "'rsyslog' in ansible_facts.packages"
|
|
fail_msg: "rsyslog package is not installed"
|
|
success_msg: "rsyslog package is installed"
|