davidban77 / ansible-collection-gns3

Ansible Collection for GNS3 Server REST API using gns3fy
https://galaxy.ansible.com/davidban77/gns3
MIT License
39 stars 20 forks source link

ValueErrors not being correctly handled #3

Open davidban77 opened 5 years ago

davidban77 commented 5 years ago

When creating links the exceptions raised that are ValueError are not being properly handled, because it finishes the play and no warnings are displayed.

I think it would be good to at least have a warning/fail with these exceptions:

ValueError: node_a: iou-1 not found

Or

ValueError: port_a: Ethernet2 not found

Because the project IS going to get created but the links with these type of errors are not.