Fix galera_client installation for openSUSE Leap 15.1
The MariaDB repositories are offering a download repo under the leap major version, e.g. "opensuse15" or "opensuse42" for all leap 42.x and leap 15.x versions, respectively. There isn't a specific build for openSUSE Leap 15.1, so the previous logic selected a repo url of opensuse-151 which does not exist. Change-Id: I64c6796e4324717dd98aa8488bc3e83b31073c45
This commit is contained in:
parent
7fa820fb6e
commit
1fce4446f6
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
_galera_opensuse_dir: "{{ (ansible_distribution_major_version == '15') | ternary(ansible_distribution_version | regex_replace('\\.', ''), ansible_distribution_major_version) }}"
|
||||
_galera_opensuse_dir: "{{ ansible_distribution_major_version }}"
|
||||
_galera_client_repo_url: "http://{{ galera_repo_host }}/MariaDB/mariadb-{{ galera_client_major_version }}.{{ galera_client_minor_version }}/yum/opensuse{{ _galera_opensuse_dir }}-amd64"
|
||||
_galera_client_repo:
|
||||
name: MariaDB
|
||||
|
Loading…
Reference in New Issue
Block a user