Files
kamal/lib/tasks/mrsk/server.rake
David Heinemeier Hansson 78a5d08d3f Switch to host naming
Servers concept will encompass custom cmd and labels. Host is just the IP address.
2023-01-10 14:15:16 +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