diff --git a/test/integration/targets/ops_command/tests/cli/contains.yaml b/test/integration/targets/ops_command/tests/cli/contains.yaml index 37c01a5193..72aa284ccf 100644 --- a/test/integration/targets/ops_command/tests/cli/contains.yaml +++ b/test/integration/targets/ops_command/tests/cli/contains.yaml @@ -5,10 +5,10 @@ ops_command: commands: - show version - - show interface GigabitEthernet0/0 + - show interface eth1 wait_for: - - "result[0] contains 15.6" - - "result[1] contains GigabitEthernet0/0" + - "result[0] contains OpenSwitch" + - "result[1] contains 'Interface eth1'" provider: "{{ cli }}" register: result diff --git a/test/integration/targets/ops_command/tests/cli/output.yaml b/test/integration/targets/ops_command/tests/cli/output.yaml index 3292d1b2e8..00201850e5 100644 --- a/test/integration/targets/ops_command/tests/cli/output.yaml +++ b/test/integration/targets/ops_command/tests/cli/output.yaml @@ -16,7 +16,7 @@ ops_command: commands: - show version - - show interfaces + - show interface provider: "{{ cli }}" register: result