mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-21 09:51:31 -07:00
First functional approach
This commit is contained in:
parent
6b8480a9e7
commit
35e17e0722
3 changed files with 4 additions and 2 deletions
|
@ -1192,9 +1192,11 @@ def main():
|
||||||
|
|
||||||
cursor.execute("SELECT VERSION()")
|
cursor.execute("SELECT VERSION()")
|
||||||
if 'mariadb' in cursor.fetchone()[0].lower():
|
if 'mariadb' in cursor.fetchone()[0].lower():
|
||||||
from ansible_collections.community.mysql.plugins.implementations.mariadb import user as impl
|
global impl
|
||||||
|
from ansible_collections.community.mysql.plugins.module_utils.implementations.mariadb import user as impl
|
||||||
else:
|
else:
|
||||||
from ansible_collections.community.mysql.plugins.implementations.mysql import user as impl
|
global impl
|
||||||
|
from ansible_collections.community.mysql.plugins.module_utils.implementations.mysql import user as impl
|
||||||
|
|
||||||
if priv is not None:
|
if priv is not None:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue