-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql_user support of REQUIRE NONE to remove granted REQUIRE-SSL #20
Comments
This should be handled by setting the |
@Jorge-Rodriguez 1) shouldn't we cover the case by CI tests and 2) add an example to EXAMPLE block? |
@Andersson007 I'll have to look at the code, but I vaguely remember that we have both of those things. |
SUMMARY
There is no way to remove the "REQUIRE SSL" mysql privilege ... other than rewriting the whole set of permission which is not practicable (especially when depending upon
append_privs=yes
)Eg: After setting
REQUIRESSL
- mysql_user: name=muser priv="*.*:REQUIRESSL" append_privs=yes
... there is no way to revert such a directive. Normally this is done using REQUIRE NONE
But this is not implemented by the Ansible role.
- mysql_user: name=muser priv="*.*:REQUIRENONE" append_privs=yes
Expected result: The REQUIRE SSL is droped for muser
ISSUE TYPE
COMPONENT NAME
mysql_user
ADDITIONAL INFORMATION
ansible/ansible#15440
ansible/ansible#29811
The text was updated successfully, but these errors were encountered: