Skip to content

Commit

Permalink
Merge pull request #557 from tolecnal/fix/535-use_column_case_sensiti…
Browse files Browse the repository at this point in the history
…ve_for_users_task

Introducing the column_case_sensitive for the users task.
  • Loading branch information
geerlingguy authored Feb 16, 2025
2 parents 985ab2d + 934e3fb commit 2707c26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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`)
- `case_sensitive` (defaults to `no`)

The formats of these are the same as in the `mysql_user` module.

Expand Down Expand Up @@ -189,7 +190,7 @@ If you want to install MySQL from the official repository instead of installing
name: http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
state: present
when: ansible_os_family == "RedHat"
- name: Override variables for MySQL (RedHat).
set_fact:
mysql_daemon: mysqld
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') }}"
column_case_sensitive: "{{ item.case_sensitive | default('no') }}"
with_items: "{{ mysql_users }}"
no_log: "{{ mysql_hide_passwords }}"

0 comments on commit 2707c26

Please sign in to comment.