Set shell server
This commit is contained in:
parent
2cc69784c8
commit
64b4910277
|
@ -8,4 +8,4 @@ server 'beta.libertarian-party.com',
|
||||||
roles: %w[rvm web]
|
roles: %w[rvm web]
|
||||||
|
|
||||||
server 'gamma.libertarian-party.com',
|
server 'gamma.libertarian-party.com',
|
||||||
roles: %w[rvm web app db]
|
roles: %w[rvm web app db shell]
|
||||||
|
|
|
@ -27,7 +27,7 @@ desc 'Opens SSH shell on remote host in current release directory'
|
||||||
task :shell do
|
task :shell do
|
||||||
hosts = []
|
hosts = []
|
||||||
|
|
||||||
on roles(:all), in: :sequence, wait: 0 do |host|
|
on roles(:shell), in: :sequence, wait: 0 do |host|
|
||||||
hosts << host
|
hosts << host
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Reference in New Issue