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