Currently, getcredentials allow to get one setting. If several
credentials are needed, we need to do several SSH connections
to get each of them.
We provide instead a getconfig script accepting a template in
stdin or a file name to a file located in rOPS' config folder as
parameter, and printing to stdout the configuration file after
template variable substitution.
Fixes T587.
Example:
bin/config forum/forum.yml
Template syntax:
%%command%% | Runs the specified command and output the result |