mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-25 04:20:18 +01:00
Update with dict option
This commit is contained in:
parent
c561b6e5f7
commit
822f2c950b
1 changed files with 12 additions and 4 deletions
14
README.md
14
README.md
|
@ -2,11 +2,19 @@
|
|||
|
||||
This role configures OpenSSH. It:
|
||||
|
||||
- Uses Ansible variables of the form `sshd_ListenAddress` for options
|
||||
- By default, with no set options, creates an empty configuration file.
|
||||
- Can use a dict of the form:
|
||||
```
|
||||
sshd:
|
||||
Compression: delayed
|
||||
ListenAddress:
|
||||
- 0.0.0.0
|
||||
- ::
|
||||
```
|
||||
- Can also use scalar variables of the form `sshd_ListenAddress`
|
||||
- Scalar override dict values.
|
||||
- Allows the use of booleans for keys with yes/no values, including those with additional non-boolean values such as `Compression`, which has the additional `delayed` option
|
||||
- Tests the sshd_config before reloading sshd
|
||||
- Template is programmatically generated. See the files in the meta folder.
|
||||
|
||||
It should cover all valid SSH options.
|
||||
|
||||
This is the initial commit
|
||||
|
|
Loading…
Reference in a new issue