From aa97512c0356d5ce8a17f1ab4bbab2fd2f1c7f9a Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Thu, 25 Oct 2012 14:20:36 -0700 Subject: [PATCH] Adding ec2 task servers to fabfile. --- fabfile.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fabfile.py b/fabfile.py index fdac2bdcc..169c09d70 100644 --- a/fabfile.py +++ b/fabfile.py @@ -59,6 +59,11 @@ env.roledefs ={ 'task10.newsblur.com', 'task11.newsblur.com', ], + 'ec2task': ['ec2-54-242-38-48.compute-1.amazonaws.com', + 'ec2-184-72-214-147.compute-1.amazonaws.com', + 'ec2-107-20-103-16.compute-1.amazonaws.com', + 'ec2-50-17-12-16.compute-1.amazonaws.com', + ], 'vps': ['task01.newsblur.com', 'task02.newsblur.com', 'task03.newsblur.com', @@ -101,6 +106,10 @@ def task(): server() env.roles = ['task'] +def ec2task(): + ec2() + env.roles = ['ec2task'] + def vps(): server() env.roles = ['vps']