If the database is already up and running, running this role will not work. To make a change to the log file size without data loss before applying the config.
- While mariadb is still runing MySQL> SET GLOBAL innodb_fast_shutdown=0;
- Stop mariadb systemctl stop mariadb
- Run this role to copy the config to /etc/my.cnf.d
- Go to /var/lib/mysql mv ib_logfile0 ib_logfile0_orig mv ib_logfile1 ib_logfile1_orig
- systemctl start mariadb