summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_facts
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/nxos_facts')
-rw-r--r--test/integration/targets/nxos_facts/tests/common/all_facts.yaml3
-rw-r--r--test/integration/targets/nxos_facts/tests/common/default_facts.yaml3
-rw-r--r--test/integration/targets/nxos_facts/tests/common/invalid_subset.yaml3
-rw-r--r--test/integration/targets/nxos_facts/tests/common/not_hardware.yaml3
-rw-r--r--test/integration/targets/nxos_facts/tests/common/sanity.yaml6
5 files changed, 0 insertions, 18 deletions
diff --git a/test/integration/targets/nxos_facts/tests/common/all_facts.yaml b/test/integration/targets/nxos_facts/tests/common/all_facts.yaml
index 4289e2359a..530ccca1ca 100644
--- a/test/integration/targets/nxos_facts/tests/common/all_facts.yaml
+++ b/test/integration/targets/nxos_facts/tests/common/all_facts.yaml
@@ -1,13 +1,10 @@
---
- debug: msg="START connection={{ ansible_connection }}/all_facts.yaml"
-- debug: msg="Using provider={{ connection.transport }}"
- when: ansible_connection == "local"
- name: test getting all facts
nxos_facts:
gather_subset:
- all
- provider: "{{ connection }}"
register: result
- assert:
diff --git a/test/integration/targets/nxos_facts/tests/common/default_facts.yaml b/test/integration/targets/nxos_facts/tests/common/default_facts.yaml
index 82775e516c..1a3c4cb33f 100644
--- a/test/integration/targets/nxos_facts/tests/common/default_facts.yaml
+++ b/test/integration/targets/nxos_facts/tests/common/default_facts.yaml
@@ -1,11 +1,8 @@
---
- debug: msg="START connection={{ ansible_connection }}/default_facts.yaml"
-- debug: msg="Using provider={{ connection.transport }}"
- when: ansible_connection == "local"
- name: test getting default facts
nxos_facts:
- provider: "{{ connection }}"
register: result
- assert:
diff --git a/test/integration/targets/nxos_facts/tests/common/invalid_subset.yaml b/test/integration/targets/nxos_facts/tests/common/invalid_subset.yaml
index 9df2fe53d6..048d2c54a2 100644
--- a/test/integration/targets/nxos_facts/tests/common/invalid_subset.yaml
+++ b/test/integration/targets/nxos_facts/tests/common/invalid_subset.yaml
@@ -1,13 +1,10 @@
---
- debug: msg="START connection={{ ansible_connection }}/invalid_subset.yaml"
-- debug: msg="Using provider={{ connection.transport }}"
- when: ansible_connection == "local"
- name: test invalid subset (foobar)
nxos_facts:
gather_subset:
- "foobar"
- provider: "{{ connection }}"
register: result
ignore_errors: true
diff --git a/test/integration/targets/nxos_facts/tests/common/not_hardware.yaml b/test/integration/targets/nxos_facts/tests/common/not_hardware.yaml
index 6c06ec3a24..0e54e51950 100644
--- a/test/integration/targets/nxos_facts/tests/common/not_hardware.yaml
+++ b/test/integration/targets/nxos_facts/tests/common/not_hardware.yaml
@@ -1,13 +1,10 @@
---
- debug: msg="START connection={{ ansible_connection }}/not_hardware_facts.yaml"
-- debug: msg="Using provider={{ connection.transport }}"
- when: ansible_connection == "local"
- name: test not hardware
nxos_facts:
gather_subset:
- "!hardware"
- provider: "{{ connection }}"
register: result
- assert:
diff --git a/test/integration/targets/nxos_facts/tests/common/sanity.yaml b/test/integration/targets/nxos_facts/tests/common/sanity.yaml
index d895b85ebd..728852b881 100644
--- a/test/integration/targets/nxos_facts/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_facts/tests/common/sanity.yaml
@@ -1,12 +1,9 @@
---
- debug: msg="START connection={{ ansible_connection }} nxos_facts sanity test"
-- debug: msg="Using provider={{ connection.transport }}"
- when: ansible_connection == "local"
- name: "nxos_facts gather hardware facts"
nxos_facts:
gather_subset: hardware
- provider: "{{ connection }}"
register: result
- assert:
@@ -31,7 +28,6 @@
- name: "nxos_facts gather config facts"
nxos_facts:
gather_subset: config
- provider: "{{ connection }}"
register: result
- assert:
@@ -54,7 +50,6 @@
gather_subset:
- hardware
- config
- provider: "{{ connection }}"
register: result
- assert:
@@ -80,7 +75,6 @@
- name: "nxos_facts gather features facts"
nxos_facts:
gather_subset: features
- provider: "{{ connection }}"
register: result
- assert: