mariadb-replication/README.md

43 lines
676 B
Markdown
Raw Normal View History

2020-12-01 20:53:28 +00:00
Role Name
=========
Setup MariaDB replication
Requirements
------------
Two MariaDB-Servers
Role Variables
--------------
- db_server_id (host var/inventory): 1 is primary/master, other is replica/slave
- db_repl_user (defaults): Repliation user name
- db_repl_password (defaults): Replication password
- db_debug (undefined): Print some debug information
Dependencies
------------
- None
Example Playbook
----------------
- hosts: db-servers
roles:
- { role: mariadb-replication, db_debug: True }
License
-------
GPL-2.0-or-later
Author Information
------------------
- Sven Velt <sven-ansiblerole@velt.biz>
- https://git.velt.biz/velt.biz/