summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_ntp
diff options
context:
space:
mode:
authorNathaniel Case <this.is@nathanielca.se>2018-07-02 09:43:51 -0400
committerGitHub <noreply@github.com>2018-07-02 09:43:51 -0400
commita1971259540ccc1be3df811252f5b832e7af2d87 (patch)
treedeac7c985fecc5fd1567f604308d211df68e7db2 /test/integration/targets/nxos_ntp
parent1659951710a7a8468a65e76e31006dc972b4468a (diff)
downloadansible-a1971259540ccc1be3df811252f5b832e7af2d87.tar.gz
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_ntp')
-rw-r--r--test/integration/targets/nxos_ntp/tests/common/sanity.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/targets/nxos_ntp/tests/common/sanity.yaml b/test/integration/targets/nxos_ntp/tests/common/sanity.yaml
index d143e5d4dc..4aad638441 100644
--- a/test/integration/targets/nxos_ntp/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_ntp/tests/common/sanity.yaml
@@ -10,6 +10,7 @@
prefer: disabled
vrf_name: management
source_addr: 192.0.2.5
+ provider: "{{ connection }}"
state: absent
ignore_errors: yes
@@ -22,6 +23,7 @@
prefer: enabled
vrf_name: management
source_addr: 192.0.2.5
+ provider: "{{ connection }}"
state: present
register: result
@@ -44,6 +46,7 @@
prefer: enabled
vrf_name: default
source_addr: default
+ provider: "{{ connection }}"
state: present
register: result
@@ -72,6 +75,7 @@
source_int: Ethernet1/3
peer: 1.2.3.4
prefer: enabled
+ provider: "{{ connection }}"
state: present
register: result
@@ -86,6 +90,7 @@
- name: Remove source interface
nxos_ntp: &config3
source_int: default
+ provider: "{{ connection }}"
state: present
register: result