summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Sprygada <psprygada@ansible.com>2016-08-26 15:09:02 -0400
committerPeter Sprygada <psprygada@ansible.com>2016-08-26 15:09:02 -0400
commitbe55bd6cdff2b31ee7be62c3d5329bef8e38d4a9 (patch)
treecfa4dfc1856a1a60e877ac89e3f6b45921091a2c
parent66825f094d0aa893cbdfbbf720b98874531d9265 (diff)
downloadansible-be55bd6cdff2b31ee7be62c3d5329bef8e38d4a9.tar.gz
disable prompt timestamps upon successful connection to iosxr
-rw-r--r--lib/ansible/module_utils/iosxr.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ansible/module_utils/iosxr.py b/lib/ansible/module_utils/iosxr.py
index 4b54446fff..c15edc9748 100644
--- a/lib/ansible/module_utils/iosxr.py
+++ b/lib/ansible/module_utils/iosxr.py
@@ -55,7 +55,8 @@ class Cli(CliBase):
def connect(self, params, **kwargs):
super(Cli, self).connect(params, kickstart=False, **kwargs)
- self.shell.send('terminal length 0')
+ self.shell.send(['terminal length 0',
+ 'terminal exec prompt no-timestamp'])
### implementation of netcli.Cli ###