mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-05 10:10:32 -07:00
MIrror of the Ansible Community MySQL collection.
https://galaxy.ansible.com/ui/repo/published/community/mysql
* mysql_user: fixed encrypted option for MySQL 8.0 and test coverage The purpose of this change was originally to expand test coverage to unblock #76, but an issue was detected with the encrypted parameter on MySQL 8.0 in the process of writing the tests. Additionally, user_password_update_test.yml had been disabled at some point, so I opted to replace it with two new files that will focus on the password and plugin auth paths. * Updated tests to cover a couple of missing branches * Skip tests that rely on sha256_password if pymysql < 0.9 * Cover the case where pymysql isn't installed for plugin tests * Added better plugin auth checking to tests and other minor changes * Fixed version detection to explicitly handle MariaDB * Removed unneeded import from previous change * Remove whitespace that was introduced by change that was removed * Added unit tests for missing coverage |
||
---|---|---|
.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
See Ansible Using collections for more details.
Licensing
GNU General Public License v3.0 or later.
See LICENSE to see the full text.