From d1efeeca48a46be3cc18b12dd9d091351d96ceb0 Mon Sep 17 00:00:00 2001
From: Emilien Mantel <emilien.mantel@gmail.com>
Date: Wed, 31 Jul 2019 09:19:38 +0200
Subject: [PATCH] Bypasses ansible issue on Buster with galera tests

---
 tests/test.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/test.yml b/tests/test.yml
index 0435f8c..5a17d08 100644
--- a/tests/test.yml
+++ b/tests/test.yml
@@ -75,6 +75,10 @@
 
 - hosts: galera
   pre_tasks:
+    - name: SET_FACT | Bypass https://github.com/ansible/ansible/issues/19874
+      set_fact:
+        ansible_distribution_release: 'buster'
+      when: ansible_facts.distribution_major_version == "buster/sid"
     - name: SET_FACT | Apply some configuration
       set_fact:
         mariadb_galera_primary_node: '{% if is_docker %}docker-{% else %}vbox-{% endif %}{{ ansible_distribution_release }}-{{ mariadb_origin }}-galera-1'