* Capture output of stdout and stderr to Actions
* Remove type descriptors
Whoops! This isn't typescript
* Remove semicolons
* Rename cmd to args
* Separate command from arguments to exec
* Revert "Rename cmd to args"
This reverts commit 98591e5513.
* Append stdout and stderr to string, then log
* Consolidate stdout and stderr into single output
* Move base command back to cmd variable
* Embed execOptions as parameter to exec
By default it seems that SSH host key checking has been disabled. This
patch makes it optional. If a variable named known_hosts is passed in,
the key checking will be enabled. The variable should contain the
complete contents of the known_hosts file, which must contain the public
key(s) of the host(s) in the inventory.