Software Development Kit (SDK) and API Discussions

Ansible Module Playbook Showing Error.


Please advise on below warning message and let me know solution for this as early as possible. Thanks


ansible-playbook dfw.yaml
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

PLAY [Gathre Facts] ***********************************************************************************************************************

TASK [Gathering Facts] ********************************************************************************************************************
ok: [localhost]

TASK [Collect NetApp Information] *********************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: netapp_lib.api.zapi.zapi.NaApiError: NetApp API failed. Reason - URL error:URLError(TimeoutError(110, 'Connection timed out'),)
[WARNING]: The module only supports ZAPI and is deprecated, and will no longer work with newer versions of ONTAP when ONTAPI is deprecated
in CY22-Q4
[WARNING]: netapp.ontap.na_ontap_rest_info should be used instead.
[WARNING]: With version 22.0.0 ONTAPI (ZAPI) has been deprecated. The final ONTAP version to support ZAPI is ONTAP 9.12.1. ZAPI calls in
these modules will continue to work for ONTAP versions that supports ZAPI. You can update your playbook to use REST by adding use_rest:
always to your playbook. More information can be found at:
fatal: [localhost]: FAILED! => {
"changed": false


Error calling API system-get-ontapi-version: NetApp API failed. Reason - URL error:URLError(TimeoutError(110, 'Connection timed out'),)

PLAY RECAP ********************************************************************************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0