Try adding the "*connection:local*" under your hosts

- hosts: "myhost"
  connection: local


On Thursday, November 14, 2019 at 12:35:32 PM UTC+8, Palmer wrote:
>
> Hi, 
>
> I'm new to Ansible and trying to write my first playbook. 
>
> But i keep getting an error:  *fatal: [RTR1]: FAILED! => {"changed": 
> false, "msg": "Connection type ssh is not valid for this module"}*
>
> I'm suspecting Ansible is complaining about my Cisco devices ssh settings 
> (running diffie-hellman-group1-sha1) but I'm not sure if that's correct. 
> Will appreciate your assistance
>
> [image: anserror.JPG]
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/58a36eb4-5cbd-4a63-b61c-eabb9963a6ce%40googlegroups.com.

Reply via email to