1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

iosxr tests to work with 2.3 (#21998)

This commit is contained in:
John R Barker 2017-02-27 14:37:06 +00:00 committed by GitHub
parent 9c72d478ec
commit 9f49d4b8f4
3 changed files with 5 additions and 4 deletions

View file

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

View file

@ -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:

View file

@ -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: