📝 Update README
							parent
							
								
									38c1701310
								
							
						
					
					
						commit
						800258bc7e
					
				
								
									
									
										
											33
										
									
									README.md
									
									
									
									
								
								
							
							
										
											33
										
									
									README.md
									
									
									
									
								|  | @ -1,16 +1,16 @@ | ||||||
| MariaDB (MySQL) Ansible role for Debian | MariaDB (MySQL) Ansible role for Debian | ||||||
| ======================================= | ======================================= | ||||||
| 
 | 
 | ||||||
| [](https://galaxy.ansible.com/HanXHX/mysql) [](https://app.travis-ci.com/HanXHX/ansible-mysql) | [](https://galaxy.ansible.com/HanXHX/mysql)  | ||||||
| 
 | 
 | ||||||
| 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 | ||||||
| ------- | ------- | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue