This commit is contained in:
karbyshevds 2025-10-03 17:03:56 +00:00 committed by GitHub
commit fa483424f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
--- ---
- name: Install MariaDB official repository - name: Install MariaDB official repository
when: mariadb_use_official_repo when: mariadb_use_official_repo | bool
block: block:
- name: Install MariaDB repo necessary packages - name: Install MariaDB repo necessary packages
ansible.builtin.apt: ansible.builtin.apt:
@ -45,7 +45,7 @@
owner: root owner: root
group: root group: root
mode: "0644" mode: "0644"
when: not mariadb_use_official_repo_format_deb822 when: not mariadb_use_official_repo_format_deb822 | bool
- name: Setup MariaDB repository sources entry - name: Setup MariaDB repository sources entry
ansible.builtin.copy: ansible.builtin.copy:
@ -61,7 +61,7 @@
owner: root owner: root
group: root group: root
mode: "0644" mode: "0644"
when: mariadb_use_official_repo_format_deb822 when: mariadb_use_official_repo_format_deb822 | bool
- name: Prefer MariaDB repo over Debian repo - name: Prefer MariaDB repo over Debian repo
ansible.builtin.copy: ansible.builtin.copy:

View File

@ -18,7 +18,7 @@
owner: root owner: root
group: root group: root
mode: "0644" mode: "0644"
when: mariadb_use_official_repo when: mariadb_use_official_repo | bool
- name: Install packages (dnf) - name: Install packages (dnf)
ansible.builtin.dnf: ansible.builtin.dnf:
@ -36,7 +36,7 @@
- MariaDB-backup - MariaDB-backup
- python3-PyMySQL - python3-PyMySQL
state: present state: present
when: mariadb_use_official_repo when: mariadb_use_official_repo | bool
# the following is needed since MDBF packages server installation doesn't # the following is needed since MDBF packages server installation doesn't
# create the run dir directory which should probably be fixed upstream. # create the run dir directory which should probably be fixed upstream.
@ -47,7 +47,7 @@
owner: "{{ mariadb_user }}" owner: "{{ mariadb_user }}"
group: "{{ mariadb_user }}" group: "{{ mariadb_user }}"
mode: 0755 mode: 0755
when: mariadb_use_official_repo when: mariadb_use_official_repo | bool
- name: Check if mariadb command exists - name: Check if mariadb command exists
ansible.builtin.stat: ansible.builtin.stat: