Allow ssh config hostnames #49
1 changed files with 9 additions and 0 deletions
|
@ -32,6 +32,10 @@ Below is a minimal example:
|
||||||
_module.args.nixinate = {
|
_module.args.nixinate = {
|
||||||
host = "itchy.scratchy.com";
|
host = "itchy.scratchy.com";
|
||||||
sshUser = "matthew";
|
sshUser = "matthew";
|
||||||
|
|
||||||
|
# Or optionally pass a 'short' hostname that is defined in ssh config
|
||||||
|
sshConfigHost = "itchy-scratchy";
|
||||||
|
|
||||||
buildOn = "remote"; # valid args are "local" or "remote"
|
buildOn = "remote"; # valid args are "local" or "remote"
|
||||||
substituteOnTarget = true; # if buildOn is "local" then it will substitute on the target, "-s"
|
substituteOnTarget = true; # if buildOn is "local" then it will substitute on the target, "-s"
|
||||||
hermetic = false;
|
hermetic = false;
|
||||||
|
@ -91,6 +95,11 @@ Connection to itchy.scratchy.com closed.
|
||||||
|
|
||||||
A string representing the username a machine to connect to via ssh.
|
A string representing the username a machine to connect to via ssh.
|
||||||
|
|
||||||
|
- `sshConfigHost` *`string`*
|
||||||
|
|
||||||
|
A string representing an entry in ssh config. If provided, it takes precedence
|
||||||
|
over `host` and `sshUser`.
|
||||||
|
|
||||||
- `buildOn` *`"remote"`* or *`"local"`*
|
- `buildOn` *`"remote"`* or *`"local"`*
|
||||||
|
|
||||||
- `"remote"`
|
- `"remote"`
|
||||||
|
|
Loading…
Add table
Reference in a new issue