You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ssh_config module is missing the ProxyJump option. This limitation can be worked-around by using the ProxyCommand but this feels very unnecessarily cumbersome.
Issue Type
Feature Idea
Component Name
ssh_config
Additional Information
Instead of specifying:
- name: Add a host in the configuration
community.general.ssh_config:
user: akasurde
host: "example.com"
hostname: "github.com"
identity_file: "/home/akasurde/.ssh/id_rsa"
port: '2223'
state: present
proxycommand: "ssh -W %h:%p -q [email protected]"
this could be simplified to:
- name: Add a host in the configuration
community.general.ssh_config:
user: akasurde
host: "example.com"
hostname: "github.com"
identity_file: "/home/akasurde/.ssh/id_rsa"
port: '2223'
state: present
proxyjump: "[email protected]"
or potentially even a list of jump hosts:
```
- name: Add a host in the configuration
community.general.ssh_config:
user: akasurde
host: "example.com"
hostname: "github.com"
identity_file: "/home/akasurde/.ssh/id_rsa"
port: '2223'
state: present
proxyjump:
- "[email protected]"
- "[email protected]"
Code of Conduct
I agree to follow the Ansible Code of Conduct
The text was updated successfully, but these errors were encountered:
Summary
The ssh_config module is missing the
ProxyJump
option. This limitation can be worked-around by using the ProxyCommand but this feels very unnecessarily cumbersome.Issue Type
Feature Idea
Component Name
ssh_config
Additional Information
Instead of specifying:
this could be simplified to:
or potentially even a list of jump hosts:
Code of Conduct
The text was updated successfully, but these errors were encountered: