mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-06 10:40:36 -07:00
MIrror of the Ansible Community MySQL collection.
https://galaxy.ansible.com/ui/repo/published/community/mysql
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). |
||
---|---|---|
.github/workflows | ||
changelogs | ||
meta | ||
plugins | ||
tests | ||
.gitignore | ||
codecov.yml | ||
COPYING | ||
galaxy.yml | ||
README.md |
MySQL collection for Ansible
Included content
Tested with Ansible
- 2.9
- 2.10
- devel
External requirements
The MySQL modules rely on a MySQL connector. The list of supported drivers is below:
Using this collection
Installing the Collection from Ansible Galaxy
Before using the MySQL collection, you need to install it with the Ansible Galaxy CLI:
ansible-galaxy collection install community.mysql
You can also include it in a requirements.yml
file and install it via ansible-galaxy collection install -r requirements.yml
, using the format:
---
collections:
- name: community.mysql
version: 1.0.1
See Ansible Using collections for more details.
Licensing
GNU General Public License v3.0 or later.
See LICENSE to see the full text.