Fix junos_command test failure (#27627)

Add a loopback interface check instead
of device specific management interface
This commit is contained in:
Ganesh Nalawade 2017-08-02 15:18:13 +05:30 committed by GitHub
parent 505f3bfcac
commit 94748e1728

View file

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