Switch to host naming

Servers concept will encompass custom cmd and labels. Host is just the IP address.
This commit is contained in:
David Heinemeier Hansson
2023-01-10 14:15:16 +01:00
parent 5ca6f32ee7
commit 78a5d08d3f
6 changed files with 25 additions and 42 deletions

View File

@@ -5,7 +5,7 @@ namespace :mrsk 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.servers) { execute "apt-get install docker.io -y" }
on(MRSK_CONFIG.hosts) { execute "apt-get install docker.io -y" }
end
end
end