Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Add support for X11 configuration #297

Closed
bajzekm opened this issue Jun 22, 2020 · 1 comment
Closed

Add support for X11 configuration #297

bajzekm opened this issue Jun 22, 2020 · 1 comment

Comments

@bajzekm
Copy link

bajzekm commented Jun 22, 2020

Is your feature request related to a problem? Please describe.
Several parameters within the templates for openssh.conf and opensshd.conf are hardcoded such that they can't be modified using this role. It would be better if all of those values were configurable.

In particular, my use case calls for enabling X11 on some systems (via ForwardX11, X11Forwarding, and X11UseLocalhost).

Describe the solution you'd like
Instead of hardcoded lines like ForwardX11 no, change the template files to use variables (something along the lines of ForwardX11 {{ ssh_x11_forwarding }}) and set those variables to default values matching the current hardcoded settings.

Describe alternatives you've considered
ssh_custom_options and sshd_custom_options are both provided in defaults/main.yml, but this is an insufficient option, since it yields configuration files with lines that contradict one another.

@rndmh3ro
Copy link
Member

rndmh3ro commented Jul 6, 2020

Fixed by #300

@rndmh3ro rndmh3ro closed this as completed Jul 6, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

2 participants