[ansible] added service role
This commit is contained in:
13
config/deploy/prod.rb
Normal file
13
config/deploy/prod.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
# host = '94.130.110.9'
|
||||
host = 'shmyga.ru'
|
||||
|
||||
role :app, host
|
||||
role :web, host
|
||||
role :db, host
|
||||
|
||||
user = fetch(:user)
|
||||
|
||||
server host, ssh_options: { port: 22, user: user, forward_agent: true }
|
||||
|
||||
set :tmp_dir, "/home/#{user}/tmp"
|
||||
set :branch, 'master'
|
||||
Reference in New Issue
Block a user