Hi,
I plan to use fabric EC2 deployments,

My basic hello world program looks like:


def rmaster():
    set(fab_user='ubuntu',
        fab_hosts=['rmaster.dc.xyz.com'],
        fab_key_filename=['/Users/abhishekk/EC2keys/infra.pem'])

def hello():
    run('hostname')


bash$ fab rmaster hello ##should run the hostname on the ec2 machine.



I am not able to give the ssh key as a setting for fabric.
Can anyone guide me to an example to do the same.

-Abhishek Kona

_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to