Ansible, Automate, WordPress, Lamp Stack, Ansible Playbook.
to create a MySQL user ({{ mariadb_extra_user }}) for the WordPress site with access to the database created in the previous step. The mariadb_extra_user, mariadb_extra_pass, mariadb_extra_db, and mariadb_root_pass variables are defined elsewhere in the playbook. Restart the apache2 and mysql