From b2bde4802069e085940321804db91600876dab1a Mon Sep 17 00:00:00 2001 From: Andrew Klychkov Date: Thu, 5 Nov 2020 13:29:24 +0300 Subject: [PATCH] mysql_query: add note about running queries from file via mysql_db module (#55) --- plugins/modules/mysql_query.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/modules/mysql_query.py b/plugins/modules/mysql_query.py index e9664db..5bb6a01 100644 --- a/plugins/modules/mysql_query.py +++ b/plugins/modules/mysql_query.py @@ -15,6 +15,7 @@ description: - Runs arbitrary MySQL queries. - Pay attention, the module does not support check mode! All queries will be executed in autocommit mode. +- To run SQL queries from a file, use M(community.mysql.mysql_db) module. version_added: '0.1.0' options: query: @@ -42,6 +43,8 @@ options: - Where passed queries run in a single transaction (C(yes)) or commit them one-by-one (C(no)). type: bool default: no +seealso: +- module: community.mysql.mysql_db author: - Andrew Klychkov (@Andersson007) extends_documentation_fragment: