forked from evolix/ansible-roles
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:
parent
602836a6e7
commit
b843a528be
|
@ -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
|
# dependency for mysql_user and mysql_db
|
||||||
|
|
||||||
- name: python-mysqldb is installed (Ansible dependency)
|
- name: python-mysqldb is installed (Ansible dependency)
|
||||||
|
|
Loading…
Reference in a new issue