1
0
Fork 0
ansible-collection-kit/roles/sshd
Daniele Tricoli 314217bf81
continuous-integration/drone/push Build is passing Details
Use FQCN
2022-04-11 01:30:21 +02:00
..
defaults Add variables for sshd_allow_tcp_forwarding and sshd_max_sessions 2021-06-01 17:09:27 +02:00
handlers Use FQCN 2022-04-11 01:30:21 +02:00
molecule/default Set a better task name 2021-09-14 00:00:10 +02:00
tasks Use FQCN 2022-04-11 01:30:21 +02:00
README.md Update sshd role README 2021-06-01 17:32:35 +02:00

README.md

sshd

Installs and configures openssh server.

Role variables

  • sshd_become - Default: true. Enable/disable the Ansible become functionality.
  • sshd_become_user - Default: root. When using become functionality for privilege escalation, this is the user with desired privileges you become.
  • sshd_port - Default: 22. The port openssh server listen to.
  • sshd_allow_tcp_forwarding - Default: "no".
  • sshd_max_sessions - Default: 2.

Example playbook

- hosts: my-server
  vars:
    sshd_port: 1234
  roles:
    - eriol.kit.sshd