1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/examples/sample.rb

15 lines
360 B
Ruby
Raw Normal View History

# 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