2007-03-04 17:25:51 -05:00
|
|
|
# set :user, "flippy"
|
|
|
|
# set :password, "hello-flippy"
|
|
|
|
# set :gateway, "gateway.example.com"
|
2005-08-03 08:59:03 -04:00
|
|
|
|
2007-03-04 17:25:51 -05:00
|
|
|
role :web, "web1.example.com"
|
|
|
|
role :app, "app1.example.com", "app2.example.com"
|
2005-08-03 08:59:03 -04:00
|
|
|
|
2007-03-04 17:25:51 -05:00
|
|
|
desc <<-DESC
|
|
|
|
This is a sample task. It is only intended to be used as a demonstration of \
|
|
|
|
how you can define your own tasks.
|
2005-08-03 08:59:03 -04:00
|
|
|
DESC
|
2007-03-04 17:25:51 -05:00
|
|
|
task :sample_task, :roles => :app do
|
|
|
|
run "ls -l"
|
2005-08-03 08:59:03 -04:00
|
|
|
end
|