mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-23 02:41:29 -07:00
(cherry picked from commit 3ff1fad5f3
)
This commit is contained in:
parent
43e688a37a
commit
43a8037232
6 changed files with 34 additions and 34 deletions
|
@ -53,12 +53,12 @@ options:
|
|||
description:
|
||||
- Execute the dump in a single transaction.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
quick:
|
||||
description:
|
||||
- Option used for dumping large tables.
|
||||
type: bool
|
||||
default: yes
|
||||
default: true
|
||||
ignore_tables:
|
||||
description:
|
||||
- A list of table names that will be ignored in the dump
|
||||
|
@ -70,14 +70,14 @@ options:
|
|||
description:
|
||||
- Dump binary columns using hexadecimal notation.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
version_added: '0.1.0'
|
||||
force:
|
||||
description:
|
||||
- Continue dump or import even if we get an SQL error.
|
||||
- Used only when I(state) is C(dump) or C(import).
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
version_added: '0.1.0'
|
||||
master_data:
|
||||
description:
|
||||
|
@ -96,7 +96,7 @@ options:
|
|||
description:
|
||||
- Skip locking tables for read. Used when I(state=dump), ignored otherwise.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
version_added: '0.1.0'
|
||||
dump_extra_args:
|
||||
description:
|
||||
|
@ -110,7 +110,7 @@ options:
|
|||
- If C(yes), the module will internally execute commands via a shell.
|
||||
- Used when I(state=import), ignored otherwise.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
version_added: '0.1.0'
|
||||
unsafe_login_password:
|
||||
description:
|
||||
|
@ -121,7 +121,7 @@ options:
|
|||
- Used only when I(state) is C(import) or C(dump) and
|
||||
I(login_password) is passed, ignored otherwise.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
version_added: '0.1.0'
|
||||
restrict_config_file:
|
||||
description:
|
||||
|
@ -132,14 +132,14 @@ options:
|
|||
under the hood that read named option file in addition to usual option files.
|
||||
- If this behavior is undesirable, use C(yes) to read only named option file.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
version_added: '0.1.0'
|
||||
check_implicit_admin:
|
||||
description:
|
||||
- Check if mysql allows login as root/nopassword before trying supplied credentials.
|
||||
- If success, passed I(login_user)/I(login_password) will be ignored.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
version_added: '0.1.0'
|
||||
config_overrides_defaults:
|
||||
description:
|
||||
|
@ -148,7 +148,7 @@ options:
|
|||
- Used when I(stat) is C(present) or C(absent), ignored otherwise.
|
||||
- It needs Python 3.5+ as the default interpreter on a target host.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
version_added: '0.1.0'
|
||||
|
||||
seealso:
|
||||
|
@ -215,7 +215,7 @@ EXAMPLES = r'''
|
|||
name: my_db
|
||||
state: import
|
||||
target: /tmp/dump.sql.bz2
|
||||
force: yes
|
||||
force: true
|
||||
|
||||
- name: Dump multiple databases
|
||||
community.mysql.mysql_db:
|
||||
|
@ -287,7 +287,7 @@ EXAMPLES = r'''
|
|||
|
||||
- name: Try to create database as root/nopassword first. If not allowed, pass the credentials
|
||||
community.mysql.mysql_db:
|
||||
check_implicit_admin: yes
|
||||
check_implicit_admin: true
|
||||
login_user: bob
|
||||
login_password: 123456
|
||||
name: bobdata
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue