Files
kamal/lib/tasks/mrsk/server.rake
2023-01-12 14:58:17 +01:00

12 lines
314 B
Ruby

require_relative "setup"
namespace :mrsk do
namespace :server do
desc "Setup Docker on the remote servers"
task :bootstrap do
# FIXME: Detect when apt-get is not available and use the appropriate alternative
on(MRSK.config.hosts) { execute "apt-get install docker.io -y" }
end
end
end