Skip to content

Commit

Permalink
Make version var dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
medanthelinium committed Dec 4, 2023
1 parent 4deed12 commit 1503ea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
apt_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"

mariadb:
version: 10.6
prefix:
config: >-
{%- if ansible_system == 'Linux' -%}
Expand Down Expand Up @@ -53,8 +54,7 @@ mariadb:
repository:
apt:
key_url: https://mariadb.org/mariadb_release_signing_key.asc
repository: "deb [arch={{ apt_arch }}] http://mirror.netcologne.de/mariadb/repo/10.6/{{ ansible_distribution | lower }} {{ ansible_distribution_release | lower }} main"
version:
repository: "deb [arch={{ apt_arch }}] http://mirror.netcologne.de/mariadb/repo/{{ vars.mariadb.version }}/{{ ansible_distribution | lower }} {{ ansible_distribution_release | lower }} main"
mariadb_root_password: >-
{%- if mariadb.galera.cluster and not mariadb.galera.initializer -%}
{{- (mariadb_galera_cluster_nodes
Expand Down

0 comments on commit 1503ea8

Please sign in to comment.