Install mariadb:
pkg.installed:
- name: mariadb
Start mariadb:
service.running:
- enable: True
Check Root password:
mysql.root_password:
- name: root
- password: {{ pillar['mariadb']['root_password'] }}