Ansible remediation of rsyslog_remote_tls contains unnecessary shell commands #9621
Labels
Ansible
Ansible remediation update.
productization-issue
Issue found in upstream stabilization process.
Milestone
Description of problem:
Ansible remediation of the rule contains the following tasks:
and
We try to minimize usage of shell commands within our playbooks. I believe that these commands could be replaced by Ansible modules, e.g. replace.
SCAP Security Guide Version:
Master ace670c
Operating System Version:
RHEL 9
Steps to Reproduce:
Actual Results:
Tasks are using shell module.
Expected Results:
Tasks are not using shell module, but some different Ansible module instead. If it is not possible, it is explained with a comment.
Additional Information/Debugging Steps:
The text was updated successfully, but these errors were encountered: