mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
414da791d2
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
14 lines
360 B
Ruby
14 lines
360 B
Ruby
# set :user, "flippy"
|
|
# set :password, "hello-flippy"
|
|
# set :gateway, "gateway.example.com"
|
|
|
|
role :web, "web1.example.com"
|
|
role :app, "app1.example.com", "app2.example.com"
|
|
|
|
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.
|
|
DESC
|
|
task :sample_task, :roles => :app do
|
|
run "ls -l"
|
|
end
|