📝 Update README

dependabot/pip/requests-2.32.2
Emilien Mantel 2024-08-26 17:51:23 +02:00 committed by Emilien M
parent 38c1701310
commit 800258bc7e
1 changed files with 22 additions and 11 deletions

View File

@ -1,16 +1,16 @@
MariaDB (MySQL) Ansible role for Debian MariaDB (MySQL) Ansible role for Debian
======================================= =======================================
[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-HanXHX.mysql-blue.svg)](https://galaxy.ansible.com/HanXHX/mysql) [![Build Status](https://app.travis-ci.com/HanXHX/ansible-mysql.svg?branch=master)](https://app.travis-ci.com/HanXHX/ansible-mysql) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-HanXHX.mysql-blue.svg)](https://galaxy.ansible.com/HanXHX/mysql) ![GitHub Workflow Status (master)](https://img.shields.io/github/actions/workflow/status/hanxhx/ansible-mysql/molecule.yml?branch=master)
Install and configure MariaDB (Galera Cluster). Manage replication (master/slave). Create users and databases. Install and configure MariaDB (Galera Cluster). Manage replication (master/slave). Create users and databases.
| OS | Origin | MariaDB versions | | OS | Origin | MariaDB versions |
| --------------- | --------- | ----------------- | |:--------------------:|:----------|:-----------------|
| Debian Buster | Debian | 10.3 | | Debian Bookworm (12) | Debian | 10.11 |
| Debian Buster | Upstream | Up from 10.3 | | Debian Bookworm (12) | Upstream | From 10.11 |
| Debian Bullseye | Debian | 10.5 |
| Debian Bullseye | Upstream | Up from 10.5 | If you need to manage previous Debian versions, please use the [latest managed version](https://github.com/HanXHX/ansible-mysql/releases/tag/2.2.1).
Notes Notes
@ -23,8 +23,8 @@ Notes
Requirements Requirements
------------ ------------
- Ansible >=2.11 - Ansible - see [meta/main.yml](meta/main.yml)
- Collections: community.general / community.mysql / community.crypto / ansible.posix - Collections: see [requirements.yml](requirements.yml)
Role Variables Role Variables
-------------- --------------
@ -57,7 +57,7 @@ mariadb_users:
host_all: yes host_all: yes
``` ```
Check "priv" syntax in [mysql\_user module documentation](http://docs.ansible.com/mysql_user_module.html) Check "priv" syntax in [mysql\_user module documentation](https://docs.ansible.com/ansible/latest/collections/community/mysql/mysql_user_module.html)
### Packaging ### Packaging
@ -72,12 +72,23 @@ Dependencies
None. None.
If you need to dev this role locally with molecule
--------------------------------------------------
Check available scenarios in [molecule](molecule) directory.
With `debian12_master_slave` scenario:
```commandline
molecule -v -c molecule/_shared/base.yml verify -s debian12_master_slave
```
Example Playbook Example Playbook
---------------- ----------------
- hosts: servers - hosts: servers
roles: roles:
- { role: HanXHX.mysql, mariadb_origin: 'upstream' } - { role: hanxhx.mysql, mariadb_origin: 'upstream' }
License License
------- -------