How Do I Debug My Ansible Playbook for Network Devices Like Cisco IOS?

Solution In Progress - Updated -

Issue

  • I would like to configure IOS commands into the network device, but sometimes the commands are not accepted for some reason. How do I debug my playbook?

Environment

  • Ansible Engine >= 2.9
  • Cisco IOS and using network_cli as ansible_connection

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content