##### SUMMARY
When using the RouterOS module and using a username with period in it ".", the command fails.
Changing the username fixes the Problem.

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
routeros_command

##### ANSIBLE VERSION
<!--- Paste verbatim output from "ansible --version" between quotes -->
```ansible 2.9.2
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/lucas/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.8/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 3.8.0 (default, Oct 23 2019, 18:51:26) [GCC 9.2.0]

```

##### CONFIGURATION
default unchanged configuration

##### OS / ENVIRONMENT
Manjaro Linux (Arch Linux) Kernel 4.19.88-1-MANJARO


##### STEPS TO REPRODUCE

site.yml
```yaml
- hosts: all
  roles:
    - { role: routeros-common, tags: 'routeros-common' }
```

inventory:
```
[routeros]
sw05
```

Role:
```yaml
- name: "configure common Mikrotik settings"
  routeros_command:
    commands:
      - /system routerboard print
      - /system identity print
```

Working group_vars/routeros.yml:
```yaml
ansible_connection: network_cli
ansible_network_os: routeros
ansible_user: lucas
```

not working group_vars/routeros.yml:
```yaml
ansible_connection: network_cli
ansible_network_os: routeros
ansible_user: lucas.pless
```
I tried adding +cet512w to the username, and using the "-u" flag with the ansible-playbook command, but it makes no difference.


##### EXPECTED RESULTS
I expect this result to be printed:
```
ansible-playbook  -i inventory site.yml --limit "sw05"

PLAY [all] ************************************************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************************************************
ok: [sw05]

TASK [routeros-common : configure common Mikrotik settings] ***********************************************************************************************************
ok: [sw05]

TASK [routeros-common : Display resource statistics (routeros)] *******************************************************************************************************
ok: [sw05]

PLAY RECAP ************************************************************************************************************************************************************
sw05                       : ok=3    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
```

##### ACTUAL RESULTS
Instead i get this error message:

```
ansible-playbook  -i inventory site.yml --limit "sw05"

PLAY [all] ************************************************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************************************************
ok: [sw05]

TASK [routeros-common : configure common Mikrotik settings] ***********************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.module_utils.connection.ConnectionError: timeout value 30 seconds reached while trying to send command: b'/system resource print'
fatal: [sw05]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/home/lucas/.ansible/tmp/ansible-local-231793hztvso5/ansible-tmp-1576263789.508171-260022264015288/AnsiballZ_routeros_command.py\", line 102, in <module>\n    _ansiballz_main()\n  File \"/home/lucas/.ansible/tmp/ansible-local-231793hztvso5/ansible-tmp-1576263789.508171-260022264015288/AnsiballZ_routeros_command.py\", line 94, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/home/lucas/.ansible/tmp/ansible-local-231793hztvso5/ansible-tmp-1576263789.508171-260022264015288/AnsiballZ_routeros_command.py\", line 40, in invoke_module\n    runpy.run_module(mod_name='ansible.modules.network.routeros.routeros_command', init_globals=None, run_name='__main__', alter_sys=True)\n  File \"/usr/lib/python3.8/runpy.py\", line 205, in run_module\n    return _run_module_code(code, init_globals, run_name, mod_spec)\n  File \"/usr/lib/python3.8/runpy.py\", line 95, in _run_module_code\n    _run_code(code, mod_globals, init_globals,\n  File \"/usr/lib/python3.8/runpy.py\", line 85, in _run_code\n    exec(code, run_globals)\n  File \"/tmp/ansible_routeros_command_payload_djxtu67b/ansible_routeros_command_payload.zip/ansible/modules/network/routeros/routeros_command.py\", line 187, in <module>\n  File \"/tmp/ansible_routeros_command_payload_djxtu67b/ansible_routeros_command_payload.zip/ansible/modules/network/routeros/routeros_command.py\", line 157, in main\n  File \"/tmp/ansible_routeros_command_payload_djxtu67b/ansible_routeros_command_payload.zip/ansible/module_utils/network/routeros/routeros.py\", line 125, in run_commands\n  File \"/tmp/ansible_routeros_command_payload_djxtu67b/ansible_routeros_command_payload.zip/ansible/module_utils/network/routeros/routeros.py\", line 55, in get_connection\n  File \"/tmp/ansible_routeros_command_payload_djxtu67b/ansible_routeros_command_payload.zip/ansible/module_utils/network/routeros/routeros.py\", line 69, in get_capabilities\n  File \"/tmp/ansible_routeros_command_payload_djxtu67b/ansible_routeros_command_payload.zip/ansible/module_utils/connection.py\", line 185, in __rpc__\nansible.module_utils.connection.ConnectionError: timeout value 30 seconds reached while trying to send command: b'/system resource print'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

PLAY RECAP ************************************************************************************************************************************************************
sw05                       : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   



```


Of cause the ssh login with both user names is working with public key method.
ansi_re = [
        
        re.compile(br'(\x1b\[\?1h\x1b=)'),
        re.compile(br'((?:\x9b|\x1b\x5b)[\x30-\x3f]*[\x20-\x2f]*[\x40-\x7e])'),
        re.compile(br'\x08.')
    ]
    terminal_initial_prompt = [
        br'\x1bZ',
    ]
    terminal_initial_answer = b'\x1b/Z'
    terminal_stdout_re = [
        re.compile(br"\x1b<"),
        re.compile(br"\[\w+\@[\w\s\-\.]+\] ?> ?$"),
        re.compile(br"Please press \"Enter\" to continue!"),
        re.compile(br"Do you want to see the software license\? \[Y\/n\]: ?"),
    ]
    terminal_stderr_re = [
        re.compile(br"\nbad command name"),
        re.compile(br"\nno such item"),
        re.compile(br"\ninvalid value for"),
    ]
    def on_open_shell(self):