roles/mariadb: Use python3-pymysql for Ansible

For Python 3 Ansible needs a different library to help with MySQL
tasks.
This commit is contained in:
Alan Orth 2019-05-08 09:15:27 +03:00
parent f129fdff8f
commit dc2e14a6a3
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
apt: name={{ item }} state=present cache_valid_time=3600
loop:
- mariadb-server
- python-mysqldb # for ansible
- python3-pymysql # for ansible
tags: mariadb, packages
- name: Create system my.cnf