Fix ios integration test failures (#35333)

This commit is contained in:
Ganesh Nalawade
2018-01-25 12:26:17 +05:30
committed by GitHub
parent dd949c5b65
commit c216473c82
4 changed files with 26 additions and 2 deletions

View File

@@ -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 }}"