Fix junos_command netconf_json lessthanorequal (#27808)

This commit is contained in:
Ricardo Carrillo Cruz 2017-08-05 20:55:11 +02:00 committed by GitHub
parent 0e4cbb4bf1
commit 99e92f4bca

View file

@ -8,7 +8,7 @@
- show interfaces lo0 - show interfaces lo0
format: json format: json
wait_for: wait_for:
- "result[1]['interface-information'][0]['physical-interface'][0]['mtu'][0]['local-index'] le 6" - "result[1]['interface-information'][0]['physical-interface'][0]['local-index'][0] le 6"
provider: "{{ netconf }}" provider: "{{ netconf }}"
register: result register: result
@ -25,7 +25,7 @@
- show interfaces lo0 - show interfaces lo0
format: json format: json
wait_for: wait_for:
- "result[1]['interface-information'][0]['physical-interface'][0]['mtu'][0]['local-index'] <= 6" - "result[1]['interface-information'][0]['physical-interface'][0]['local-index'][0] <= 6"
provider: "{{ netconf }}" provider: "{{ netconf }}"
register: result register: result