diff --git a/README.md b/README.md index e44ed6b6..dfcf9ea9 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,7 @@ The MySQL users and their privileges. A user has the values: - `priv` (defaults to `*.*:USAGE`) - `append_privs` (defaults to `no`) - `state` (defaults to `present`) + - `resource_limits` (defaults to `{}`) The formats of these are the same as in the `mysql_user` module. diff --git a/tasks/users.yml b/tasks/users.yml index c5c8d87a..819448d5 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -8,5 +8,6 @@ state: "{{ item.state | default('present') }}" append_privs: "{{ item.append_privs | default('no') }}" encrypted: "{{ item.encrypted | default('no') }}" + resource_limits: "{{ item.resource_limits | default({}) }}" with_items: "{{ mysql_users }}" no_log: "{{ mysql_hide_passwords }}"