ansible-collection-hardening
ansible-collection-hardening copied to clipboard
Complete tests for MySQL hardening
Description
Our current testcase does not support arch
, fedora
and amazon
linux.
Solution
We want to adapt the test in a way, that supports these linux flavors.
Alternatives
No response
Additional information
In arch
the tests currently fail in a prepare step. (https://github.com/dev-sec/ansible-collection-hardening/actions/runs/4664154825/jobs/8256129503)
TASK [dev-sec.mysql : Ensure MySQL Python libraries are installed.] ************
Tuesday 11 April 2023 05:23:19 +0000 (0:00:00.043) 0:00:03.575 *********
fatal: [instance]: FAILED! => {"changed": false, "cmd": ["/usr/sbin/pacman", "--upgrade", "--print-format", "%n", "mysql-python"], "msg": "Failed to list package mysql-python", "rc": 1, "stderr": "error: 'mysql-python': could not find or read package\n", "stderr_lines": ["error: 'mysql-python': could not find or read package"], "stdout": "loading packages...\n", "stdout_lines": ["loading packages..."]}