ansible-collection-hardening
ansible-collection-hardening copied to clipboard
Percona hardening
Hello,
I use Percona and tried this role. It creates a hardening file in conf.d but in Percona we also use /etc/mysql/percona.conf.d/ and I'm wondering in which order the files are read.
Because if some setting overrides the hardening, it might be a bit of an issue
From the docs:
MySQL makes no guarantee about the order in which option files in the directory will be read.
https://dev.mysql.com/doc/refman/5.7/en/option-files.html
So basically you have no way of knowing if some settings gets overridden. So this role should probably check if Percona is installed and then use the correct directories.
that quote is funny
hmm maybe i'll add it if I remember about the issue