Conversation
|
@aelsabbahy well done, this is a very good contribution! Thank you. Just a couple of naming nits and we can merge this.. |
| | Option | Description | | ||
| |-------------------|----------------------------------| | ||
| | `-f Supfile` | Custom path to Supfile | | ||
| | `-i`, `sshKey` | Set the the ssh key to use | |
There was a problem hiding this comment.
They call it identity_file in ssh command. I'm thinking if we should be consistent with them.
|
Want it just changed in the docs or do you want the variable to also be renamed in the code? Also, I take it |
| Env EnvList `yaml:"env"` | ||
| Inventory string `yaml:"inventory"` | ||
| Hosts []string `yaml:"hosts"` | ||
| SSHKey string `yaml:"ssh-key"` |
There was a problem hiding this comment.
We're trying to avoid dashes and underscores in the Supfile API. Can we think of one word here?
identity ... or sshkey ... any other suggestions?
There was a problem hiding this comment.
IdentityFile is more verbose, but would match 1-1 with ~/.ssh/config syntax, thoughts?
|
Sorry for the delay on my end.. been pretty busy and going on vacation.. I'll pick this back up in a few weeks. |
|
@aelsabbahy no worries, thanks a lot! |
|
Anyone wants to finish this PR based on the above comments? btw: Related PR: #123 |
|
@VojtechVitek Could I send a new PR to finish it (based on the PR and above comments)? Currently, I want to add some features (#128):
Could you give some advice? thank you! |
|
@kadefor would be great if you could split it into separate PRs :) Thanks! |
|
@kadefor Just a heads up if considering updating the /x/crypto/ssh package. In 2017 the Go team made a breaking change to ssh.ClientConfig. (tl;dr, must explicitly specify ssh.HostKeyCallback) |
Implement the "easy" solution requested in #86.
This adds two features:
-iflag