[ansible] added service role
This commit is contained in:
@@ -2,7 +2,7 @@ role :app, %w{localhost}
|
||||
role :web, %w{localhost}
|
||||
role :db, %w{localhost}
|
||||
|
||||
set :user, ENV['USER']
|
||||
#set :user, ENV['USER']
|
||||
user = fetch(:user)
|
||||
|
||||
server 'localhost', ssh_options: { port: 22, user: user, forward_agent: true }
|
||||
Reference in New Issue
Block a user