v1.5.0
Prefix
Prefix
config option: prefix all hosts with this
Example:
web_servers:
Prefix: projects-
Hosts:
do-1:
HostName: projects-do-1.example.com
Outputs:
projects-do-1:
HostName: projects-do-1.example.com
Multiple options
Allow the provision of a list of config options.
Example:
list_config_test_case:
Config:
LocalForward:
- 8080 127.0.0.1:80
- 8443 127.0.0.1:443
Hosts:
lf_test_1: 192.168.0.109
Outputs:
# list_config_test_case
Host lf_test_1
LocalForward 8080 127.0.0.1:80
LocalForward 8443 127.0.0.1:443
HostName 192.168.0.109
With thanks to @BapRx
--output
/ -o
--path
/ -p
was a bit ambiguous. Output makes more sense. Path is still supported for now with a view to removing this in a 2.0.0 release.
PRs: