mysql: abort if MariaDB on Debian 8

We can't create other users with 'debian-sys-maint' on Debian 8 with
MariaDB.
We must give it the GRANT privilege before continuing.
This commit is contained in:
Jérémy Lecour 2018-04-17 10:24:47 +02:00 committed by Jérémy Lecour
parent 602836a6e7
commit b843a528be

View file

@ -1,5 +1,10 @@
---
- name: "Abort if MariaDB on Debian 8"
fail:
msg: "We can't create other users with 'debian-sys-maint' on Debian 8 with MariaDB.\nWe must give it the GRANT privilege before continuing."
when: mysql_variant == "mariadb"
# dependency for mysql_user and mysql_db
- name: python-mysqldb is installed (Ansible dependency)