mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-08 11:40:33 -07:00
tls_require is handled separately (in `user_mod()` lines 673-690. By adding the `REQUIRESSL` option to the current privileges, it gets passed to to the `curr_priv` variable in `user_mod()`, causing the privileges intersection between `curr_priv` and `new_priv` on line 663 to always contain `REQUIRESSL` (because `new_priv` will never never have it if we use `tls_requires`) and therefore the module would always be marked as "changed" (because it would always try removing the REQUIRESSL via `privileges_revoke()` at line 669 and then add it back via the explicit TLS route at lines 673-690). |
||
---|---|---|
.. | ||
mysql_db.py | ||
mysql_info.py | ||
mysql_query.py | ||
mysql_replication.py | ||
mysql_user.py | ||
mysql_variables.py |