mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-24 01:00:26 -07: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:
parent
1659951710
commit
a197125954
127 changed files with 713 additions and 0 deletions
|
@ -14,11 +14,13 @@
|
|||
parents:
|
||||
- "interface {{ intname }}"
|
||||
match: none
|
||||
provider: "{{ connection }}"
|
||||
|
||||
- name: Ensure vrf ntc exists on interface
|
||||
nxos_vrf_interface: &configure
|
||||
vrf: ntc
|
||||
interface: "{{ intname }}"
|
||||
provider: "{{ connection }}"
|
||||
state: present
|
||||
register: result
|
||||
|
||||
|
@ -38,6 +40,7 @@
|
|||
nxos_vrf_interface: &remove
|
||||
vrf: ntc
|
||||
interface: "{{ intname }}"
|
||||
provider: "{{ connection }}"
|
||||
state: absent
|
||||
register: result
|
||||
|
||||
|
@ -54,6 +57,7 @@
|
|||
nxos_config:
|
||||
lines: "default interface {{ intname }}"
|
||||
match: none
|
||||
provider: "{{ connection }}"
|
||||
ignore_errors: yes
|
||||
|
||||
- debug: msg="END connection={{ ansible_connection }} nxos_vrf_interface sanity test"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue