1
0
Fork 0

Set shell server

This commit is contained in:
Alex Kotov 2019-10-03 03:37:16 +05:00
parent 2cc69784c8
commit 64b4910277
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
2 changed files with 2 additions and 2 deletions

View File

@ -8,4 +8,4 @@ server 'beta.libertarian-party.com',
roles: %w[rvm web]
server 'gamma.libertarian-party.com',
roles: %w[rvm web app db]
roles: %w[rvm web app db shell]

View File

@ -27,7 +27,7 @@ desc 'Opens SSH shell on remote host in current release directory'
task :shell do
hosts = []
on roles(:all), in: :sequence, wait: 0 do |host|
on roles(:shell), in: :sequence, wait: 0 do |host|
hosts << host
end