Skip to content
Snippets Groups Projects
Commit d8172342 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Added role for installing mysql

parent d463c50d
Branches
No related tags found
No related merge requests found
---
# file: roles/mysql/tasks/main.yml
- name: ensure mysql packages are installed
apt: name={{ item }} state=latest
with_items:
- mysql-server
- python-mysqldb
tags:
- packages
- mysql
- name: ensure mysql is started
service: name=mysql state=running enabled=yes
tags:
- service
- mysql
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment