summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/nxos_snmp_traps
diff options
context:
space:
mode:
authorNathaniel Case <this.is@nathanielca.se>2018-07-02 15:43:51 +0200
committerGitHub <noreply@github.com>2018-07-02 15:43:51 +0200
commita1971259540ccc1be3df811252f5b832e7af2d87 (patch)
treedeac7c985fecc5fd1567f604308d211df68e7db2 /test/integration/targets/nxos_snmp_traps
parentFix eos integration test failure (#42188) (diff)
downloadansible-a1971259540ccc1be3df811252f5b832e7af2d87.tar.xz
ansible-a1971259540ccc1be3df811252f5b832e7af2d87.zip
Nxos restore provider to nxapi tests (#41818)
* Quick and dirty sed to add provider * Manually verify the rest of the cases * Add missing provider
Diffstat (limited to 'test/integration/targets/nxos_snmp_traps')
-rw-r--r--test/integration/targets/nxos_snmp_traps/tests/common/sanity.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/targets/nxos_snmp_traps/tests/common/sanity.yaml b/test/integration/targets/nxos_snmp_traps/tests/common/sanity.yaml
index 6eadb4df6e..29212ec1e4 100644
--- a/test/integration/targets/nxos_snmp_traps/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_snmp_traps/tests/common/sanity.yaml
@@ -6,12 +6,14 @@
- name: Setup - Remove snmp_traps if configured
nxos_snmp_traps: &remove
group: all
+ provider: "{{ connection }}"
state: disabled
- block:
- name: Configure one snmp trap group
nxos_snmp_traps: &config
group: bridge
+ provider: "{{ connection }}"
state: enabled
register: result
@@ -30,6 +32,7 @@
- name: Remove snmp trap group
nxos_snmp_traps: &rem1
group: bridge
+ provider: "{{ connection }}"
state: disabled
register: result
@@ -44,6 +47,7 @@
- name: Configure all snmp trap groups
nxos_snmp_traps: &config1
group: all
+ provider: "{{ connection }}"
state: enabled
register: result