From 634327c5f6783b6c5ae25ab48e38ff609b95f363 Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Sat, 5 Aug 2017 00:47:53 +0530 Subject: [PATCH] Fix ios_fact integration test issue (#27771) Fixes #27563 --- test/integration/targets/ios_facts/tests/cli/all_facts.yaml | 1 + test/integration/targets/ios_facts/tests/cli/default_facts.yaml | 1 + .../integration/targets/ios_facts/tests/cli/invalid_subset.yaml | 2 ++ test/integration/targets/ios_facts/tests/cli/not_hardware.yaml | 1 + 4 files changed, 5 insertions(+) diff --git a/test/integration/targets/ios_facts/tests/cli/all_facts.yaml b/test/integration/targets/ios_facts/tests/cli/all_facts.yaml index 4ef922a46c..b726c4bb39 100644 --- a/test/integration/targets/ios_facts/tests/cli/all_facts.yaml +++ b/test/integration/targets/ios_facts/tests/cli/all_facts.yaml @@ -6,6 +6,7 @@ ios_facts: gather_subset: - all + provider: "{{ cli }}" register: result diff --git a/test/integration/targets/ios_facts/tests/cli/default_facts.yaml b/test/integration/targets/ios_facts/tests/cli/default_facts.yaml index 422adfc618..2218fc6860 100644 --- a/test/integration/targets/ios_facts/tests/cli/default_facts.yaml +++ b/test/integration/targets/ios_facts/tests/cli/default_facts.yaml @@ -4,6 +4,7 @@ - name: test getting default facts ios_facts: + provider: "{{ cli }}" register: result - assert: diff --git a/test/integration/targets/ios_facts/tests/cli/invalid_subset.yaml b/test/integration/targets/ios_facts/tests/cli/invalid_subset.yaml index f4aabca3b8..ee27c363ce 100644 --- a/test/integration/targets/ios_facts/tests/cli/invalid_subset.yaml +++ b/test/integration/targets/ios_facts/tests/cli/invalid_subset.yaml @@ -6,6 +6,7 @@ ios_facts: gather_subset: - "foobar" + provider: "{{ cli }}" register: result ignore_errors: true @@ -28,6 +29,7 @@ gather_subset: - "!hardware" - "hardware" + provider: "{{ cli }}" register: result ignore_errors: true diff --git a/test/integration/targets/ios_facts/tests/cli/not_hardware.yaml b/test/integration/targets/ios_facts/tests/cli/not_hardware.yaml index ca4d0d9681..c0a44d636f 100644 --- a/test/integration/targets/ios_facts/tests/cli/not_hardware.yaml +++ b/test/integration/targets/ios_facts/tests/cli/not_hardware.yaml @@ -6,6 +6,7 @@ ios_facts: gather_subset: - "!hardware" + provider: "{{ cli }}" register: result - assert: