Is the CISCO--- IOS_STATIC_ROUTE module working ok for you?

Hi All,

Having major problems with this module. Can’t get it to work + the Ansible Docs link appears incomplete on the main site.
ie…things like…no reference to using it. ie. “Provider”

http://docs.ansible.com/ansible/latest/ios_static_route_module.html

##----ERRORS ----##

TASK [Configure Default Next Hop] *****************************************************************************************************************************************************************************

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No module named ipaddress
fatal: [10.99.4.118]: FAILED! => {“changed”: false, “failed”: true, “module_stderr”: “Traceback (most recent call last):\n File "/tmp/ansible_KSy5yC/ansible_module_ios_static_route.py", line 105, in \n from ipaddress import ip_network\nImportError: No module named ipaddress\n”, “module_stdout”: “”, “msg”: “MODULE FAILURE”, “rc”: 0}

##-----PLAYBOOK USED-----##

It seems Python ipaddress library required for ios_static_module is not installed in your environment.Can you please install it and retry.

Also, I think the error message should be properly handled in ios_static_module in case of prerequisite library is not

installed.

Can you please raise an issue here https://github.com/ansible/ansible/issues with required details.

Regards,
Ganesh