From ea4eb8f1c849a3c9517eb3eede0c087ba3bd7fb8 Mon Sep 17 00:00:00 2001
From: John R Barker <john@johnrbarker.com>
Date: Sun, 30 Jul 2017 18:39:22 +0100
Subject: [PATCH] prepare_ovs call gather facts (#27468)

* prepare_ovs call gather facts

As we are no longer using run_ovs_integration_tests.yml we need to
explicitly gather facts so we can call the correct package manager.

* typo
---
 test/integration/targets/prepare_ovs_tests/tasks/main.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/integration/targets/prepare_ovs_tests/tasks/main.yml b/test/integration/targets/prepare_ovs_tests/tasks/main.yml
index 92d86b85c48..9674ab0b336 100644
--- a/test/integration/targets/prepare_ovs_tests/tasks/main.yml
+++ b/test/integration/targets/prepare_ovs_tests/tasks/main.yml
@@ -1,5 +1,11 @@
 ---
 
+# network-integration test are ran with gather_facts: no
+# We need to explicitly call setup so ansible_distribution is set
+
+- name: Gather facts
+  setup:
+
 - name: Install openvswitch-switch package if we are on Ubuntu
   apt:
     name: openvswitch-switch