You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Is there is any way i can loop on all the devices interfaces and shut all the Down Down ports ?
Brad Van Orden
unread,
Oct 16, 2018, 7:52:50 AM10/16/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
I don't currently have any switches to test against, but I would think you can get the interface status with ios_facts with the ansible_net_interfaces giving you a hash of the interface status. From that, you should be able to use ios_interface to mark it down. ansible check of IOS interfaces gives a similar example.