Why Am I Receiving "ansible.module_utils.connection.ConnectionError: timeout value 30 seconds reached while trying to send command" Error Using ios_config Module For Setting A Banner With Multiple Lines?

Solution Verified - Updated -

Issue

I would like to configure a banner with multiple lines using ios_config module rather than ios_banner module, but it causes an error when the banner has a blank line.

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