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

12 lines
222 B
Ruby
Raw Normal View History

task :am_i_root do
on roles(:all) do |host|
host.user = 'root'
ident = capture :id, '-a'
info "I am #{ident}"
end
2015-03-30 04:23:29 -04:00
on roles(:all) do |host|
ident = capture :id, '-a'
info "I am #{ident}"
end
end