ansible/roles/mysql/tasks/main.yml
Salt 3fa61ca850 Add barebones MySQL role
Which we are going to immediately flesh out
2020-02-05 23:29:39 -06:00

19 lines
323 B
YAML

#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: Set up MySQL
block:
- name: Install MySQL
apt:
name: "{{ packages }}"
vars:
packages:
- mariadb-server
- python-mysqldb
- name: Start MySQL
service:
name: mysql
state: started
enabled: true
become: true