iosxr tests to work with 2.3 (#21998)

pull/20437/merge
John R Barker 7 years ago committed by GitHub
parent 9c72d478ec
commit 9f49d4b8f4

@ -1,6 +1,7 @@
---
- hosts: iosxr
gather_facts: no
connection: local
vars:
limit_to: "*"

@ -5,10 +5,10 @@
iosxr_command:
commands:
- show version
- show interfaces GigabitEthernet0/0/0/1
- show interfaces Loopback 888
wait_for:
- "result[0] contains 6.0.0"
- "result[1] contains GigabitEthernet0/0/0/1"
- "result[0] contains 'Cisco IOS XR Software'"
- "result[1] contains 'Hardware is Loopback interface'"
register: result
- assert:

@ -15,7 +15,7 @@
- assert:
that:
- "result.changed == true"
- "'hostname foo' in result.updates"
- "'hostname foo' in result.commands"
- name: configure top level command idempotent check
iosxr_config:

Loading…
Cancel
Save