mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-26 13:00:18 +01:00
Move the adjusted configuration options to the public API
This commit is contained in:
parent
2a1426453b
commit
eaa6f92a29
1 changed files with 20 additions and 21 deletions
41
README.md
41
README.md
|
@ -179,32 +179,11 @@ other match blocks, to ensure they are applied regardless of the previous match
|
||||||
blocks in the existing configuration file. This allows configuring any
|
blocks in the existing configuration file. This allows configuring any
|
||||||
non-conflicting options from different roles invocations.
|
non-conflicting options from different roles invocations.
|
||||||
|
|
||||||
|
|
||||||
### Secondary role variables
|
|
||||||
|
|
||||||
These variables are used by the role internals and can be used to override the
|
|
||||||
defaults that correspond to each supported platform.
|
|
||||||
|
|
||||||
* `sshd_packages`
|
|
||||||
|
|
||||||
Use this variable to override the default list of packages to install.
|
|
||||||
|
|
||||||
* `sshd_config_owner`, `sshd_config_group`, `sshd_config_mode`
|
* `sshd_config_owner`, `sshd_config_group`, `sshd_config_mode`
|
||||||
|
|
||||||
Use these variables to set the ownership and permissions for the openssh config
|
Use these variables to set the ownership and permissions for the openssh config
|
||||||
file that this role produces.
|
file that this role produces.
|
||||||
|
|
||||||
* `sshd_binary`
|
|
||||||
|
|
||||||
The path to the openssh executable
|
|
||||||
|
|
||||||
* `sshd_service`
|
|
||||||
|
|
||||||
The name of the openssh service. By default, this variable contains the name of
|
|
||||||
the ssh service that the target platform uses. But it can also be used to set
|
|
||||||
the name of the custom ssh service when the `sshd_install_service` variable is
|
|
||||||
used.
|
|
||||||
|
|
||||||
* `sshd_verify_hostkeys`
|
* `sshd_verify_hostkeys`
|
||||||
|
|
||||||
By default (*auto*), this list contains all the host keys that are present in
|
By default (*auto*), this list contains all the host keys that are present in
|
||||||
|
@ -219,6 +198,26 @@ this to empty list.
|
||||||
Use these variables to set the ownership and permissions for the host keys from
|
Use these variables to set the ownership and permissions for the host keys from
|
||||||
the above list.
|
the above list.
|
||||||
|
|
||||||
|
### Secondary role variables
|
||||||
|
|
||||||
|
These variables are used by the role internals and can be used to override the
|
||||||
|
defaults that correspond to each supported platform.
|
||||||
|
|
||||||
|
* `sshd_packages`
|
||||||
|
|
||||||
|
Use this variable to override the default list of packages to install.
|
||||||
|
|
||||||
|
* `sshd_binary`
|
||||||
|
|
||||||
|
The path to the openssh executable
|
||||||
|
|
||||||
|
* `sshd_service`
|
||||||
|
|
||||||
|
The name of the openssh service. By default, this variable contains the name of
|
||||||
|
the ssh service that the target platform uses. But it can also be used to set
|
||||||
|
the name of the custom ssh service when the `sshd_install_service` variable is
|
||||||
|
used.
|
||||||
|
|
||||||
* `sshd_sftp_server`
|
* `sshd_sftp_server`
|
||||||
|
|
||||||
Default path to the sftp server binary.
|
Default path to the sftp server binary.
|
||||||
|
|
Loading…
Reference in a new issue