Switch to cmd array so we can redact
This commit is contained in:
@@ -6,13 +6,13 @@ namespace :mrsk do
|
||||
namespace :registry do
|
||||
desc "Login to the registry locally and remotely"
|
||||
task :login do
|
||||
run_locally { execute registry.login }
|
||||
on(MRSK_CONFIG.servers) { execute registry.login }
|
||||
run_locally { execute *registry.login }
|
||||
on(MRSK_CONFIG.servers) { execute *registry.login }
|
||||
end
|
||||
|
||||
desc "Logout of the registry remotely"
|
||||
task :logout do
|
||||
on(MRSK_CONFIG.servers) { execute registry.logout }
|
||||
on(MRSK_CONFIG.servers) { execute *registry.logout }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user