Fix junos_command test failure (#27627)

Add a loopback interface check instead
of device specific management interface
pull/27509/merge
Ganesh Nalawade 7 years ago committed by GitHub
parent 505f3bfcac
commit 94748e1728

@ -5,11 +5,11 @@
junos_command:
commands:
- show version
- show interfaces fxp0
- show interfaces lo0
format: xml
wait_for:
- "result[0].rpc-reply.software-information.host-name contains {{ inventory_hostname_short }}"
- "result[1].rpc-reply.interface-information.physical-interface.name contains fxp0"
- "result[1].rpc-reply.interface-information.physical-interface.name contains lo0"
provider: "{{ netconf }}"
register: result

Loading…
Cancel
Save