fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Using execute appears to break ssh_config configuration


From: Brandon Whaley
Subject: Re: [Fab-user] Using execute appears to break ssh_config configuration
Date: Tue, 19 Aug 2014 11:51:05 -0400

Ahh, that clears up the structure for me, thanks.

Can you try passing the list of hosts to the 'hosts' keyword argument
of execute?

On Tue, Aug 19, 2014 at 11:38 AM, Matthias Witte
<address@hidden> wrote:
> Hi Brandon,
>
> I use a fabfile directory, which contains __init__.py and test.py
>
> The complete __init__.py looks like this
>
> -------------------------------------------------------------------------------------------
> from fabric.api import *
> from fabric.contrib.console import confirm
>
> import os.path
>
> env.no_agent = False
>
> env.ssh_config_path = os.path.expanduser("~/.ssh/config.fab")
> env.use_ssh_config = True
>
> import test
> -------------------------------------------------------------------------------------------
>
> and the actual test.py is without the env.ssh_config_path and 
> env.use_ssh_config
> assignments (which I included in my example).
>
> Kind regards,
>
> Matthias
> --
> Matthias Witte
> Email: address@hidden
> Telefon: +49 211 30 43 43
> Mobil: +49 175 43 17 826
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/fab-user



reply via email to

[Prev in Thread] Current Thread [Next in Thread]