mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Update index.markdown
This commit is contained in:
parent
b9c948030d
commit
2356adddb8
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ title: A remote server automation and deployment tool written in Ruby.
|
|||
|
||||
{% highlight ruby %}
|
||||
role :demo, %w{example.com example.org example.net}
|
||||
task :uptime do |host|
|
||||
on roles(:demo), in: :parallel do
|
||||
task :uptime do
|
||||
on roles(:demo), in: :parallel do |host|
|
||||
uptime = capture(:uptime)
|
||||
puts "#{host.hostname} reports: #{uptime}"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue