Switch to host naming
Servers concept will encompass custom cmd and labels. Host is just the IP address.
This commit is contained in:
@@ -7,12 +7,12 @@ namespace :mrsk do
|
||||
desc "Login to the registry locally and remotely"
|
||||
task :login do
|
||||
run_locally { execute *registry.login }
|
||||
on(MRSK_CONFIG.servers) { execute *registry.login }
|
||||
on(MRSK_CONFIG.hosts) { execute *registry.login }
|
||||
end
|
||||
|
||||
desc "Logout of the registry remotely"
|
||||
task :logout do
|
||||
on(MRSK_CONFIG.servers) { execute *registry.logout }
|
||||
on(MRSK_CONFIG.hosts) { execute *registry.logout }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user