9 lines
391 B
Ruby
9 lines
391 B
Ruby
# server-based syntax
|
|
# ======================
|
|
# Defines a single server with a list of roles and multiple properties.
|
|
# You can define all roles on a single server, or split them:
|
|
|
|
server 'ruby-x.org', user: 'rubydesign', roles: %w{app db web}
|
|
# server 'example.com', user: 'deploy', roles: %w{app web}, other_property: :other_value
|
|
# server 'db.example.com', user: 'deploy', roles: %w{db}
|