Skip to content

Commit

Permalink
added support for user resource_limits
Browse files Browse the repository at this point in the history
  • Loading branch information
michag86 authored Oct 16, 2024
1 parent 9f580ee commit 8259ecd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
1 change: 1 addition & 0 deletions tasks/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit 8259ecd

Please sign in to comment.