ryotarai/infrataster

Define servers with fuzzy addresses.

Closed this issue · 0 comments

Server.define(
  :app,
  '192.168.0.0/16',
  vagrant: true
)

This collects IP addresses of the server via ip addr and determine the ip address.
This can be used for vagrant server or the server which has host option of ssh option.