dsglaser / cis-security

Playbooks to implement Center for Internet Security (CIS) controls for RHEL (7-9), RHEL Clones, Ubuntu (18.04-22.04), and Microsoft Windows (10, Server 2019)
Other
90 stars 63 forks source link

augenrules called from handler might not exists for Ubuntu #34

Closed sentient closed 2 years ago

sentient commented 2 years ago

FAILED! => {"changed": true, "cmd": "/usr/sbin/augenrules --load", "delta": "0:00:00.002983", "end": "2022-01-19 01:53:26.639735", "msg": "non-zero return code", "rc": 127, "start": "2022-01-19 01:53:26.636752", "stderr": "/bin/sh: 1: /usr/sbin/augenrules: not found", "stderr_lines": ["/bin/sh: 1: /usr/sbin/augenrules: not found"], "stdout": "", "stdout_lines": []}

dsglaser commented 2 years ago

Converted this to a service call. This should resolve the issue.