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

Update index.markdown

This commit is contained in:
Lee Hambley 2014-07-16 16:29:53 +02:00
parent b9c948030d
commit 2356adddb8

View file

@ -7,8 +7,8 @@ title: A remote server automation and deployment tool written in Ruby.
{% highlight ruby %} {% highlight ruby %}
role :demo, %w{example.com example.org example.net} role :demo, %w{example.com example.org example.net}
task :uptime do |host| task :uptime do
on roles(:demo), in: :parallel do on roles(:demo), in: :parallel do |host|
uptime = capture(:uptime) uptime = capture(:uptime)
puts "#{host.hostname} reports: #{uptime}" puts "#{host.hostname} reports: #{uptime}"
end end