Advanced SSH configurations

Advanced SSH configurations for the Konvoy installer

For on-premise install, there are a few SSH related options that users can customize in the Ansible inventory file.

wait_for_connection

This specifies the way that Ansible uses to check the connectivity to a node.

  • socket: Use wait_for to check socket level connectivity (default).
  • ssh: Use [wait_for_connection][ansible_wait_for_connection] to check connectivity using SSH.

Note that ssh mode requires Python to be pre-installed on the target host. But could be useful when SSH proxy is used.

all:
  vars:
    version: "v1beta1"
    order: sorted
    wait_for_connection: ssh

ssh_common_args

If specified, the extra arguments will be append to all SSH related operations. This is useful when SSH proxy is used.

all:
  vars:
    version: "v1beta1"
    order: sorted
    wait_for_connection: ssh
    ssh_common_args: "-o ProxyCommand=\"ssh -p 3023 %r@localhost -s proxy:%h:%p\""