diff options
author | Nathaniel Case <this.is@nathanielca.se> | 2018-07-02 15:43:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-02 15:43:51 +0200 |
commit | a1971259540ccc1be3df811252f5b832e7af2d87 (patch) | |
tree | deac7c985fecc5fd1567f604308d211df68e7db2 /test/integration/targets/nxos_feature | |
parent | Fix eos integration test failure (#42188) (diff) | |
download | ansible-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_feature')
-rw-r--r-- | test/integration/targets/nxos_feature/tests/common/configure.yaml | 6 | ||||
-rw-r--r-- | test/integration/targets/nxos_feature/tests/common/invalid.yaml | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/integration/targets/nxos_feature/tests/common/configure.yaml b/test/integration/targets/nxos_feature/tests/common/configure.yaml index 2c02bea4c8..220def42d1 100644 --- a/test/integration/targets/nxos_feature/tests/common/configure.yaml +++ b/test/integration/targets/nxos_feature/tests/common/configure.yaml @@ -5,10 +5,12 @@ nxos_config: lines: no feature bgp match: none + provider: "{{ connection }}" - name: enable bgp nxos_feature: feature: bgp + provider: "{{ connection }}" state: enabled register: result @@ -19,6 +21,7 @@ - name: verify bgp nxos_feature: feature: bgp + provider: "{{ connection }}" state: enabled register: result @@ -29,6 +32,7 @@ - name: disable bgp nxos_feature: feature: bgp + provider: "{{ connection }}" state: disabled register: result @@ -39,6 +43,7 @@ - name: verify bgp nxos_feature: feature: bgp + provider: "{{ connection }}" state: disabled register: result @@ -50,5 +55,6 @@ nxos_config: lines: no feature bgp match: none + provider: "{{ connection }}" - debug: msg="END connection={{ ansible_connection }}/configure.yaml" diff --git a/test/integration/targets/nxos_feature/tests/common/invalid.yaml b/test/integration/targets/nxos_feature/tests/common/invalid.yaml index 477eaf6416..8d0baf6b2c 100644 --- a/test/integration/targets/nxos_feature/tests/common/invalid.yaml +++ b/test/integration/targets/nxos_feature/tests/common/invalid.yaml @@ -4,6 +4,7 @@ - name: configure invalid feature name nxos_feature: feature: invalid + provider: "{{ connection }}" register: result ignore_errors: yes |