mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Fix ios integration test failures (#35333)
This commit is contained in:
@@ -1,4 +1,16 @@
|
||||
---
|
||||
- debug: msg="START ios cli/ios_static_route.yaml on connection={{ ansible_connection }}"
|
||||
|
||||
- name: delete static route - setup
|
||||
net_static_route:
|
||||
prefix: 172.16.31.0
|
||||
mask: 255.255.255.0
|
||||
next_hop: 10.0.0.8
|
||||
admin_distance: 1
|
||||
state: absent
|
||||
authorize: yes
|
||||
register: result
|
||||
|
||||
- name: create static route
|
||||
ios_static_route:
|
||||
prefix: 172.16.31.0
|
||||
@@ -127,3 +139,5 @@
|
||||
that:
|
||||
- 'result.changed == true'
|
||||
- 'result.commands == ["no ip route 172.16.32.0 255.255.255.0 10.0.0.8", "no ip route 172.16.34.0 255.255.255.0 10.0.0.8"]'
|
||||
|
||||
- debug: msg="END ios cli/ios_static_route.yaml on connection={{ ansible_connection }}"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
prefix: 172.16.31.0
|
||||
mask: 255.255.255.0
|
||||
next_hop: 10.0.0.8
|
||||
admin_distance: 2
|
||||
admin_distance: 1
|
||||
state: absent
|
||||
authorize: yes
|
||||
register: result
|
||||
|
||||
Reference in New Issue
Block a user