Where do you add `connection: local`? 

I added it a the top of my playbook underneath `hosts: all` and it still 
complains about paramiko not being installed on the vyos host. 

On Monday, 24 October 2016 20:43:10 UTC+1, Barney Sowood wrote:
>
> 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/6c83d8ec-bcca-4996-8c1e-e2e96de1c173%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to