Skip to content

Commit

Permalink
Galera: Allow arbiter to installed on Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Jul 19, 2024
1 parent da00848 commit 34d1792
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions roles/galera/tasks/arbiter_node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@
template:
src: "mariadb.repo.j2"
dest: "/etc/yum.repos.d/mariadb.repo"
when: ansible_os_family == 'RedHat'

- name: Install Galera, rsync
yum:
ansible.builtin.package:
name:
- galera
- rsync # For galera sync
state: installed
when: ansible_os_family == 'RedHat'

- name: Install galera and rsync
ansible.builtin.package:
name:
- galera-arbitrator-4
state: present
when: ansible_os_family == 'Debian'

- name: Create directory to keep Galera key material
file:
Expand Down

0 comments on commit 34d1792

Please sign in to comment.