Installing MariaDB
As we have been using the IUS repository for other packages in our playbook, it would make sense to install the latest version of MariaDB from there. However, there is a conflict we need to resolve first.
As part of the base Vagrant box installation, Postfix, the mail server, is installed. Postfix requires the mariadb-libs package as a dependency, but having this package installed is going to cause a conflict with the later version of the package we want to install. The solution to this problem is to remove the mariadb-libs package and, then install the packages we need, along with Postfix, which is removed when we uninstall mariadb-libs.
The first task in the role, which we need to add to roles/mariadb/tasks/mail.yml
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access