Oefenweb.autossh_tunnel_server
autossh-tunnel-server
Set up a persistent tunnel (using autossh) in Debian-like systems (server side).
Requirements
None
Variables
autossh_tunnel_server_user: [default:autossh]: The user that will accept theautosshconnectionautossh_tunnel_server_group: [default:autossh]: The primary group of theautosshuserautossh_tunnel_server_groups: [default:[ssh_users]]: The secondary groups of theautosshuserautossh_tunnel_server_shell: [default:/bin/false]: The shell of theautosshuserautossh_tunnel_server_authorized_keys: [default:[]]: Authorized key declarationsautossh_tunnel_server_authorized_keys.{n}.src: [required]: The local path of the keyautossh_tunnel_server_authorized_keys.{n}.state: [optional, default:present]: State
Dependencies
None
Recommended
ansible-autossh-tunnel-client(see)
Example
---
- hosts: all
roles:
- oefenweb.autossh-tunnel-server
vars:
autossh_tunnel_server_groups:
- ssh_users
autossh_tunnel_server_authorized_keys:
- src: ../../../files/autossh-tunnel/etc/autossh/id_rsa.pub
License
MIT
Author Information
Mischa ter Smitten
Feedback, bug-reports, requests, ...
Are welcome!
About
Set up a persistent tunnel (using autossh) in Debian-like systems (server side)
Install
ansible-galaxy install Oefenweb.autossh_tunnel_serverLicense
mit
Downloads
161
Owner
