Fix junos_command netconf_xml notequal asserts (#27806)

pull/27807/head
Ricardo Carrillo Cruz 7 years ago committed by GitHub
parent b51a1e9045
commit 6a6bcb6749

@ -8,7 +8,7 @@
- show interfaces lo0 - show interfaces lo0
format: xml format: xml
wait_for: wait_for:
- "result[0].rpc-reply.software-information.host-name neq localhost" - "result[1].rpc-reply.interface-information.physical-interface.name neq em0"
provider: "{{ netconf }}" provider: "{{ netconf }}"
register: result register: result
@ -25,7 +25,7 @@
- show interfaces lo0 - show interfaces lo0
format: xml format: xml
wait_for: wait_for:
- "result[0].rpc-reply.software-information.host-name != localhost" - "result[1].rpc-reply.interface-information.physical-interface.name neq em0"
provider: "{{ netconf }}" provider: "{{ netconf }}"
register: result register: result

Loading…
Cancel
Save