Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da2dc9a

Browse files
Doc: locked returned in users info (ansible-collections#706)
* doc: users_info returns a new field "locked" * doc: fix hash syntax Co-authored-by: Andrew Klychkov <[email protected]> --------- Co-authored-by: Andrew Klychkov <[email protected]>
1 parent b26235b commit da2dc9a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plugins/modules/mysql_info.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@
151151
tls_requires: "{{ item.tls_requires | default(omit) }}"
152152
priv: "{{ item.priv | default(omit) }}"
153153
resource_limits: "{{ item.resource_limits | default(omit) }}"
154+
locked: "{{ item.locked | default(omit) }}"
154155
column_case_sensitive: true
155156
state: present
156157
loop: "{{ result.users_info }}"
@@ -246,6 +247,7 @@
246247
If the output is fed to M(community.mysql.mysql_user), the
247248
``plugin_auth_string`` will most likely be unreadable due to non-binary
248249
characters.
250+
- The "locked" field was aded in ``community.mysql`` 3.13.
249251
returned: if not excluded by filter
250252
type: dict
251253
sample:
@@ -255,7 +257,8 @@
255257
"plugin": "mysql_native_password",
256258
"priv": "db1.*:SELECT/db2.*:SELECT",
257259
"resource_limits": { "MAX_USER_CONNECTIONS": 100 },
258-
"tls_requires": { "SSL": null } }
260+
"tls_requires": { "SSL": null },
261+
"locked": false }
259262
version_added: '3.8.0'
260263
engines:
261264
description: Information about the server's storage engines.

0 commit comments

Comments
 (0)