Thank you very much, this fixed the issue. Now it sucessfully executes 
commands. You are right, I haven't seen this in documentation at all, could 
this be added to it, for others to resolve the issue?

Dňa pondelok, 24. októbra 2016 21:43:10 UTC+2 Barney Sowood napísal(-a):
>
> Hi,
>
>
> On Mon, 24 Oct 2016, at 03:31 PM, Lukas Nagy wrote:
>
> I am trying to use VyOS module, included in Ansible 2.2. When I am trying 
> to run simple playbook to set DHCP server, it fails on missing paramiko 
> module. I've tried pip install paramiko but it is already installed. 
> Reinstallation doesn't helped too. What should I do or what am I doing 
> wrong?
>
>
> Try adding "connection: local", otherwise it will try and push the module 
> and run it on the remote device via ssh.
>
> I'm not sure why the default behaviour for network modules isn't to assume 
> running locally, I guess you may want to delegate to another machine, but 
> the default behaviour seems non-obvious and if it's documented I couldn't 
> see where.
>
> Regards,
>
> Barney
>
>
> --
>   Barney Sowood
>   [email protected] <javascript:>
>
>
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6b8892f0-9160-4377-b486-9cda62784e40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to