mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix asserts of junos_command netconf_json notequal and lessthanorequal (#27818)
This commit is contained in:
parent
f7bfa96caf
commit
0343ac1a9d
2 changed files with 4 additions and 4 deletions
|
@ -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]['local-index'][0] le 6"
|
- "result[1]['interface-information'][0]['physical-interface'][0]['local-index'][0][data] 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]['local-index'][0] <= 6"
|
- "result[1]['interface-information'][0]['physical-interface'][0]['local-index'][0][data] <= 6"
|
||||||
provider: "{{ netconf }}"
|
provider: "{{ netconf }}"
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
- show interfaces lo0
|
- show interfaces lo0
|
||||||
format: json
|
format: json
|
||||||
wait_for:
|
wait_for:
|
||||||
- "result[0]['software-information'][0]['host-name'][0]['data'] neq localhost"
|
- "result[1]['interface-information'][0]['physical-interface'][0]['name'][0]['data'] neq em0"
|
||||||
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[0]['software-information'][0]['host-name'][0]['data'] != localhost"
|
- "result[1]['interface-information'][0]['physical-interface'][0]['name'][0]['data'] neq em0"
|
||||||
provider: "{{ netconf }}"
|
provider: "{{ netconf }}"
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue