Browse Source

SUSE: Add support for openSUSE Leap 15

Change-Id: I655c81c9857b51dcdbf94fd1e955317d2812997e
Markos Chandras 7 months ago
parent
commit
8ec910c4c2
2 changed files with 5 additions and 1 deletions
  1. 3
    0
      meta/main.yml
  2. 2
    1
      vars/suse.yml

+ 3
- 0
meta/main.yml View File

@@ -27,6 +27,9 @@ galaxy_info:
27 27
     - name: EL
28 28
       versions:
29 29
         - 7
30
+    - name: opensuse
31
+      versions:
32
+        - all
30 33
   categories:
31 34
     - cloud
32 35
     - galera

vars/suse-42.yml → vars/suse.yml View File

@@ -60,7 +60,8 @@ galera_server_upgrade_packages_remove:
60 60
 
61 61
 galera_mariadb_service_name: "mariadb"
62 62
 
63
-_galera_repo_url: "http://{{ galera_repo_host }}/MariaDB/mariadb-{{ galera_major_version }}.{{ galera_minor_version }}/yum/opensuse42-amd64"
63
+_galera_opensuse_dir: "{{ (ansible_distribution_major_version == '15') | ternary(ansible_distribution_version | regex_replace('\\.', ''), ansible_distribution_major_version) }}"
64
+_galera_repo_url: "http://{{ galera_repo_host }}/MariaDB/mariadb-{{ galera_major_version }}.{{ galera_minor_version }}/yum/opensuse{{ _galera_opensuse_dir }}-amd64"
64 65
 _galera_repo:
65 66
   name: MariaDB
66 67
   description: "MariaDB Repo"

Loading…
Cancel
Save