vm-ansible/roles/mariadb/tasks/mariadb.yaml

14 lines
221 B
YAML

---
- name: "Install MariaDB via apt"
apt:
update_cache: yes
state: present
name:
- mariadb
- name: Enable and restart MariaDB daemon
service:
name: mariadb
state: restarted
enabled: yes