diff --git a/test/integration/iosxr.yaml b/test/integration/iosxr.yaml index 46ead03b7f..117d3aec30 100644 --- a/test/integration/iosxr.yaml +++ b/test/integration/iosxr.yaml @@ -1,6 +1,7 @@ --- - hosts: iosxr gather_facts: no + connection: local vars: limit_to: "*" diff --git a/test/integration/targets/iosxr_command/tests/cli/contains.yaml b/test/integration/targets/iosxr_command/tests/cli/contains.yaml index 7fe8014dc3..b6f7b2f14c 100644 --- a/test/integration/targets/iosxr_command/tests/cli/contains.yaml +++ b/test/integration/targets/iosxr_command/tests/cli/contains.yaml @@ -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: diff --git a/test/integration/targets/iosxr_config/tests/cli/toplevel_nonidempotent.yaml b/test/integration/targets/iosxr_config/tests/cli/toplevel_nonidempotent.yaml index efda155d96..f49546efd9 100644 --- a/test/integration/targets/iosxr_config/tests/cli/toplevel_nonidempotent.yaml +++ b/test/integration/targets/iosxr_config/tests/cli/toplevel_nonidempotent.yaml @@ -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: