cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
993
Views
0
Helpful
2
Replies

iosxr_banner ansible module issue

sbanswar03
Level 1
Level 1

 

The playbbok get timeout with multiple lines but it works fine with 2 lines, any pointer how to fix even I tried to increase the timeout but same timeout error. Have tried with both Login & Motd options

 

Ansible Version - 2.8.4

name: Testing Cisco ASR9006 (software 6.2.2)


hosts: HOSTNAME
gather_facts: no
connection: netwotk_cli

tasks:

name: Configure the Login banner
iosxr_banner:
banner: login
text: |
line 1
line 2
line 3
state: present

2 Replies 2

sbanswar03
Level 1
Level 1

Hi,

is anyone using iosxr_banner module to pass multiple lines (with any ASR Model and version), not sure if I am doing some format error. 

 

Thanks

Hi

Use text: > instead of text: |

iosxr.gif