cidrblock / add_dhcp_helper_address

Adds a dhcp address to any interface that has one
7 stars 6 forks source link

The error was: ImportError: No module named ciscoconfparse #1

Open coffeemasterHimself opened 5 years ago

coffeemasterHimself commented 5 years ago

Hi,

I'd like to use your Project and modify it to change an ip-helper caused by changing the dscp - server in our network.

I got following answer: "TASK [get_interfaces : Get interfaces with helper_keyword] **** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No module named ciscoconfparse"

ansible-playbook 2.8.5 config file = /home//dev/ansible/ip-helper/mod_dhcp_helper_address/ansible.cfg configured module search path = ['/home//.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.6/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.6.8 (default, Apr 25 2019, 21:02:35) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] Using /home//dev/ansible/ip-helper/mod_dhcp_helper_address/ansible.cfg as config file

Perhaps I have to find any softwareswitch to enable Ansible to take all dependencys of the module to it's namespace. It seems not to be...

Do you have any recommendations?

Regards,

Dirk

timwisbauer commented 4 years ago

You need to have the "ciscoconfparse" Python module installed. pip install ciscoconfparse