ansible-collection-hardening/roles
Shawn Wilsher 9ab06a5e06
[mysql_hardening] Allow setting the mysql_distribution (#473)
* [mysql_hardening] Allow setting the mysql_distribution

On some operating systems, the package for MySQL is not `mysql-server`,
and so the default check for this will not yield the correct result.
This change adds an escape hatch by letting the user set
`mysql_distribution`.  Additionally, it verifies that it is set to a
legal value if the user has set it.

Closes #472

Signed-off-by: Shawn Wilsher <656602+sdwilsh@users.noreply.github.com>

* Update roles/mysql_hardening/tasks/main.yml

Co-authored-by: Sebastian Gumprich <rndmh3ro@users.noreply.github.com>
2021-08-15 20:03:07 +02:00
..
apache_hardening@41bd7d7e9d move to collections 2020-11-07 21:19:43 +01:00
mysql_hardening [mysql_hardening] Allow setting the mysql_distribution (#473) 2021-08-15 20:03:07 +02:00
nginx_hardening Uppercased first letter of task names. (#422) 2021-03-25 13:52:56 +01:00
os_hardening Add CVE-2021-33909 mitigations (#466) 2021-07-22 16:32:41 +02:00
ssh_hardening SSH Hardening: backtick typo (#471) 2021-08-06 13:41:05 +02:00
windows_hardening@41e8a1893c move to collections 2020-11-07 21:19:43 +01:00