(UNVERIFIED) Setup MariaDB replication
Find a file
2025-04-11 18:14:33 +02:00
defaults FQCN, ansible-lint, small fixes 2025-04-11 18:14:33 +02:00
handlers FQCN, ansible-lint, small fixes 2025-04-11 18:14:33 +02:00
meta FQCN, ansible-lint, small fixes 2025-04-11 18:14:33 +02:00
tasks FQCN, ansible-lint, small fixes 2025-04-11 18:14:33 +02:00
.gitignore Initial commit 2020-12-01 21:53:28 +01:00
README.md FQCN, ansible-lint, small fixes 2025-04-11 18:14:33 +02:00

Role Name

Setup MariaDB replication

Requirements

Two MariaDB-Servers

Role Variables

Variable Context Description
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
      vars:
        db_debug: true

License

GPL-2.0-or-later

Author Information