Closed heuels closed 4 years ago
Files identified in the description:
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
You can add +cet512w
to your username in hosts
file, this makes the default terminal width equal to 512 cols and enables "dumb" terminal mode.
Your final host definition should look something like this:
---
example_routeros:
ansible_host: 192.168.88.1
ansible_user: admin+cet512w
ansible_ssh_pass: ''
ansible_network_os: routeros
ansible_connection: network_cli
I also noticed that the routeros_command
module will have the commands echoed a few times in the registered stdout data if the command is to long. Applying the above mentioned workaround also fixes that behavior.
This also exists on routeros_facts.
For reference, the +cet512w flag can be added onto the ansible-playbook command like so: -k
This also exists on routeros_facts.
Yes, that's true since both modules use the same connection mechanism.
Same for me. user@domain is my user from Radius user@domain+cet512w not work for me.
Thank you very much for your interest in Ansible. This plugin is no longer maintained in this repository and has been migrated to https://github.com/ansible-collections/community.network
Please re-submit this issue in the above repository.
If you have further questions please stop by IRC or the mailing list:
IRC: #ansible on irc.freenode.net mailing list: https://groups.google.com/forum/#!forum/ansible-project
SUMMARY
As reported by @danrimal, @moosehead123 in #53199, when device's identity is greater than 24 characters the request fails with timeout.
ISSUE TYPE
COMPONENT NAME
routeros_command
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS