'Why am I getting timeout error when I run my playbook?

I'm trying to use routeros_command for the first time, but I keep on getting the same error whenever I run my playbook. Can anyone point out what I am doing wrong?

- name: Router OS check
  vars:
    ansible_connection: network_cli
    ansible_network_os: routeros
    ansible_user: test-router
    ansible_password: testing-router12
  routeros_command:
    commands:
      - /system resource print

Result:

ConnectionError: timeout value 30 seconds reached while trying to send command: b'/system resource print'



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source