ansible-sshd/README.md

21 lines
677 B
Markdown
Raw Normal View History

2014-12-18 23:12:51 +01:00
# Ansible OpenSSH Daemon Role
This role configures OpenSSH. It:
2014-12-21 21:39:44 +01:00
- 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.
2014-12-18 23:12:51 +01:00
- 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.
2014-12-21 21:39:44 +01:00
It should cover all valid SSH options.