mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-09 12:10:31 -07:00
mention MariaDB in descriptions and notes
This commit is contained in:
parent
554d99e58b
commit
172ada9e20
7 changed files with 25 additions and 15 deletions
5
plugins/modules/mysql_db.py
Normal file → Executable file
5
plugins/modules/mysql_db.py
Normal file → Executable file
|
@ -11,9 +11,9 @@ __metaclass__ = type
|
|||
DOCUMENTATION = r'''
|
||||
---
|
||||
module: mysql_db
|
||||
short_description: Add or remove MySQL databases from a remote host
|
||||
short_description: Add or remove MySQL or MariaDB databases from a remote host
|
||||
description:
|
||||
- Add or remove MySQL databases from a remote host.
|
||||
- Add or remove MySQL or MariaDB databases from a remote host.
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
|
@ -188,6 +188,7 @@ requirements:
|
|||
- mysql (command line binary)
|
||||
- mysqldump (command line binary)
|
||||
notes:
|
||||
- Compatible with MariaDB or MySQL
|
||||
- Requires the mysql and mysqldump binaries on the remote host.
|
||||
- This module is B(not idempotent) when I(state) is C(import),
|
||||
and will import the dump file each time if run more than once.
|
||||
|
|
5
plugins/modules/mysql_info.py
Normal file → Executable file
5
plugins/modules/mysql_info.py
Normal file → Executable file
|
@ -11,9 +11,9 @@ __metaclass__ = type
|
|||
DOCUMENTATION = r'''
|
||||
---
|
||||
module: mysql_info
|
||||
short_description: Gather information about MySQL servers
|
||||
short_description: Gather information about MySQL or MariaDB servers
|
||||
description:
|
||||
- Gathers information about MySQL servers.
|
||||
- Gathers information about MySQL or MariaDB servers.
|
||||
|
||||
options:
|
||||
filter:
|
||||
|
@ -46,6 +46,7 @@ options:
|
|||
default: false
|
||||
|
||||
notes:
|
||||
- Compatible with MariaDB or MySQL
|
||||
- Calculating the size of a database might be slow, depending on the number and size of tables in it.
|
||||
To avoid this, use I(exclude_fields=db_size).
|
||||
|
||||
|
|
6
plugins/modules/mysql_query.py
Normal file → Executable file
6
plugins/modules/mysql_query.py
Normal file → Executable file
|
@ -10,9 +10,9 @@ __metaclass__ = type
|
|||
DOCUMENTATION = r'''
|
||||
---
|
||||
module: mysql_query
|
||||
short_description: Run MySQL queries
|
||||
short_description: Run MySQL or MariaDB queries
|
||||
description:
|
||||
- Runs arbitrary MySQL queries.
|
||||
- Runs arbitrary MySQL or MariaDB 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.
|
||||
|
@ -56,6 +56,8 @@ attributes:
|
|||
support: none
|
||||
seealso:
|
||||
- module: community.mysql.mysql_db
|
||||
notes:
|
||||
- Compatible with MariaDB or MySQL
|
||||
author:
|
||||
- Andrew Klychkov (@Andersson007)
|
||||
extends_documentation_fragment:
|
||||
|
|
7
plugins/modules/mysql_replication.py
Normal file → Executable file
7
plugins/modules/mysql_replication.py
Normal file → Executable file
|
@ -13,9 +13,9 @@ __metaclass__ = type
|
|||
DOCUMENTATION = r'''
|
||||
---
|
||||
module: mysql_replication
|
||||
short_description: Manage MySQL replication
|
||||
short_description: Manage MySQL or MariaDB replication
|
||||
description:
|
||||
- Manages MySQL server replication, replica, primary status, get and change primary host.
|
||||
- Manages MySQL or MariaDB server replication, replica, primary status, get and change primary host.
|
||||
author:
|
||||
- Balazs Pocze (@banyek)
|
||||
- Andrew Klychkov (@Andersson007)
|
||||
|
@ -191,7 +191,8 @@ options:
|
|||
version_added: '0.1.0'
|
||||
|
||||
notes:
|
||||
- If an empty value for the parameter of string type is needed, use an empty string.
|
||||
- Compatible with MariaDB or MySQL
|
||||
- If an empty value for the parameter of string type is needed, use an empty string.
|
||||
|
||||
attributes:
|
||||
check_mode:
|
||||
|
|
5
plugins/modules/mysql_role.py
Normal file → Executable file
5
plugins/modules/mysql_role.py
Normal file → Executable file
|
@ -11,10 +11,10 @@ DOCUMENTATION = r'''
|
|||
---
|
||||
module: mysql_role
|
||||
|
||||
short_description: Adds, removes, or updates a MySQL role
|
||||
short_description: Adds, removes, or updates a MySQL or MariaDB role
|
||||
|
||||
description:
|
||||
- Adds, removes, or updates a MySQL role.
|
||||
- Adds, removes, or updates a MySQL or MariaDB role.
|
||||
- Roles are supported since MySQL 8.0.0 and MariaDB 10.0.5.
|
||||
|
||||
version_added: '2.2.0'
|
||||
|
@ -132,6 +132,7 @@ options:
|
|||
version_added: '3.8.0'
|
||||
|
||||
notes:
|
||||
- Roles are supported since MySQL 8.0.0 and MariaDB 10.0.5.
|
||||
- Pay attention that the module runs C(SET DEFAULT ROLE ALL TO)
|
||||
all the I(members) passed by default when the state has changed.
|
||||
If you want to avoid this behavior, set I(set_default_role_all) to C(no).
|
||||
|
|
5
plugins/modules/mysql_user.py
Normal file → Executable file
5
plugins/modules/mysql_user.py
Normal file → Executable file
|
@ -11,9 +11,9 @@ __metaclass__ = type
|
|||
DOCUMENTATION = r'''
|
||||
---
|
||||
module: mysql_user
|
||||
short_description: Adds or removes a user from a MySQL database
|
||||
short_description: Adds or removes a user from a MySQL or MariaDB database
|
||||
description:
|
||||
- Adds or removes a user from a MySQL database.
|
||||
- Adds or removes a user from a MySQL or MariaDB database.
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
|
@ -188,6 +188,7 @@ options:
|
|||
version_added: '3.9.0'
|
||||
|
||||
notes:
|
||||
- Compatible with MySQL or MariaDB
|
||||
- "MySQL server installs with default I(login_user) of C(root) and no password.
|
||||
To secure this user as part of an idempotent playbook, you must create at least two tasks:
|
||||
1) change the root user's password, without providing any I(login_user)/I(login_password) details,
|
||||
|
|
7
plugins/modules/mysql_variables.py
Normal file → Executable file
7
plugins/modules/mysql_variables.py
Normal file → Executable file
|
@ -12,9 +12,9 @@ DOCUMENTATION = r'''
|
|||
---
|
||||
module: mysql_variables
|
||||
|
||||
short_description: Manage MySQL global variables
|
||||
short_description: Manage MySQL or MariaDB global variables
|
||||
description:
|
||||
- Query / Set MySQL variables.
|
||||
- Query / Set MySQL or MariaDB variables.
|
||||
author:
|
||||
- Balazs Pocze (@banyek)
|
||||
options:
|
||||
|
@ -54,6 +54,9 @@ seealso:
|
|||
description: Complete reference of the MySQL SET command documentation.
|
||||
link: https://dev.mysql.com/doc/refman/8.0/en/set-statement.html
|
||||
|
||||
notes:
|
||||
- Compatible with MariaDB or MySQL
|
||||
|
||||
extends_documentation_fragment:
|
||||
- community.mysql.mysql
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue