Update with dict option

This commit is contained in:
Matt Willsher 2014-12-21 20:39:44 +00:00
parent c561b6e5f7
commit 822f2c950b

View file

@ -2,11 +2,19 @@
This role configures OpenSSH. It: 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 - 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 - Tests the sshd_config before reloading sshd
- Template is programmatically generated. See the files in the meta folder. - Template is programmatically generated. See the files in the meta folder.
It should cover all valid SSH options. It should cover all valid SSH options.
This is the initial commit