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:
parent
f129fdff8f
commit
dc2e14a6a3
@ -20,7 +20,7 @@
|
|||||||
apt: name={{ item }} state=present cache_valid_time=3600
|
apt: name={{ item }} state=present cache_valid_time=3600
|
||||||
loop:
|
loop:
|
||||||
- mariadb-server
|
- mariadb-server
|
||||||
- python-mysqldb # for ansible
|
- python3-pymysql # for ansible
|
||||||
tags: mariadb, packages
|
tags: mariadb, packages
|
||||||
|
|
||||||
- name: Create system my.cnf
|
- name: Create system my.cnf
|
||||||
|
Loading…
Reference in New Issue
Block a user