TP-Link T2600G-52TS and Ansible RAW
Hi, I want to execute Ansible commands using ssh raw, but I get a bug
- fatal: [tp-link001]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh:", "unreachable": true}
Here's an example of my playbook:
- hosts: tp-link-test
gather_facts: false
connection: local
tasks:
- name: Tp-Link raw
raw: history
this is an example of my hosts:
[tp-link-test]
tp-link001 ansible_host = 192.168.0.10
[tp-link-test: vars]
ansible_connection = ssh
ansible_user = admin
Previously, I configured authorization using the ssh key and created a config ssh
# Some kind of ssh config file
Host "192.168.0. *"
user admin
Ciphers aes256-cbc
HostKeyAlgorithms = + ssh-dss