Top "Fabric" questions

A Python library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks.

How to set target hosts in Fabric file

I want to use Fabric to deploy my web app code to development, staging and production servers. My fabfile: def …

python host fabric
How do I copy a directory to a remote machine using Fabric?

I have a directory on my local machine that I would like to copy to a remote machine (and rename …

python fabric
Using an SSH keyfile with Fabric

How do you configure fabric to connect to remote hosts using SSH keyfiles (for example, Amazon EC2 instances)?

python fabric
How to continue a task when Fabric receives an error

When I define a task to run on several remote servers, if the task runs on server one and exits …

python fabric
Pass parameter to fabric task

How can I pass a parameter to a fabric task when calling "fab" from the command line? For example: def …

python fabric
ImportError: No module named pexpect

I am using Fabric and would like to use fexpect. I have the following Python script: from ilogue.fexpect import …

python fabric pexpect fexpect
How to get the current Linux process ID from the command line a in shell-agnostic, language-agnostic way

How does one get their current process ID (pid) from the Linux command line in a shell-agnostic, language-agnostic way? pidof(8) …

python linux shell command-line fabric
Can I catch error codes when using Fabric to run() calls in a remote shell?

Normally Fabric quits as soon as a run() call returns a non-zero exit code. For some calls, however, this is …

python error-handling fabric
fabric password

Every time fabric runs, it asks for root password, can it be sent along same for automated proposes. fab staging …

python fabric
Activate a virtualenv via fabric as deploy user

I want to run my fabric script locally, which will in turn, log into my server, switch user to deploy, …

python virtualenv fabric automated-deploy