diff --git a/README.md b/README.md index dfd9354a..10ece685 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,7 @@ The MySQL users and their privileges. A user has the values: - `state` (defaults to `present`) - `case_sensitive` (defaults to `false`) - `update_password` (defaults to `always`) + - `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 f06e0672..4dce6f6b 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -10,5 +10,6 @@ encrypted: "{{ item.encrypted | default(false) }}" column_case_sensitive: "{{ item.case_sensitive | default(false) }}" update_password: "{{ item.update_password | default('always') }}" + resource_limits: "{{ item.resource_limits | default({}) }}" with_items: "{{ mysql_users }}" no_log: "{{ mysql_hide_passwords }}"