Ansible issue with port channels
I was using Ansible to push interface information(desc, mtu, name...) from cisco ASR to netbox. Normal interfaces were pushed successfully, but when Ansible pulled the info from Port channels, all the port channels were looped and broadcast storm was caused(info was pushed to netbox tho). There was more than 500000 packets per second on each port channel interface. I did the same on a few cisco switch and nothing bad happened.
Anyone knows what caused this and how to prevent it?
edit: the module was cisco ios gather facts all. I want to know if is there anything more lightweight or optimised so it won't cause loops and broadcast storms on port channels.