mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Nxos restore provider to nxapi tests (#41818)
* Quick and dirty sed to add provider * Manually verify the rest of the cases * Add missing provider
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
- name: "Disable feature BGP"
|
||||
nxos_feature:
|
||||
feature: bgp
|
||||
provider: "{{ connection }}"
|
||||
state: disabled
|
||||
|
||||
- block:
|
||||
@@ -21,12 +22,14 @@
|
||||
- name: "Enable feature BGP"
|
||||
nxos_feature:
|
||||
feature: bgp
|
||||
provider: "{{ connection }}"
|
||||
state: enabled
|
||||
|
||||
- name: "Configure BGP defaults"
|
||||
nxos_bgp: &configure_default
|
||||
asn: 65535
|
||||
router_id: 192.0.2.1
|
||||
provider: "{{ connection }}"
|
||||
state: present
|
||||
register: result
|
||||
|
||||
@@ -61,6 +64,7 @@
|
||||
- name: "Disable feature bgp"
|
||||
nxos_feature:
|
||||
feature: bgp
|
||||
provider: "{{ connection }}"
|
||||
state: disabled
|
||||
|
||||
- debug: msg="END nxapi/sanity.yaml on connection={{ ansible_connection }}"
|
||||
|
||||
Reference in New Issue
Block a user